mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-22 15:57:23 +00:00
Move the -t and -l options to the filesystem group
This commit is contained in:
parent
42bcd27d3b
commit
1c76e23e0f
1 changed files with 4 additions and 4 deletions
|
@ -1036,13 +1036,13 @@ if __name__ == '__main__':
|
||||||
action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
|
action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
|
||||||
verbosity.add_option('-e', '--get-title',
|
verbosity.add_option('-e', '--get-title',
|
||||||
action='store_true', dest='gettitle', help='simulate, quiet but print title', default=False)
|
action='store_true', dest='gettitle', help='simulate, quiet but print title', default=False)
|
||||||
verbosity.add_option('-t', '--title',
|
|
||||||
action='store_true', dest='usetitle', help='use title in file name', default=False)
|
|
||||||
verbosity.add_option('-l', '--literal',
|
|
||||||
action='store_true', dest='useliteral', help='use literal title in file name', default=False)
|
|
||||||
parser.add_option_group(verbosity)
|
parser.add_option_group(verbosity)
|
||||||
|
|
||||||
filesystem = optparse.OptionGroup(parser, 'Filesystem Options')
|
filesystem = optparse.OptionGroup(parser, 'Filesystem Options')
|
||||||
|
filesystem.add_option('-t', '--title',
|
||||||
|
action='store_true', dest='usetitle', help='use title in file name', default=False)
|
||||||
|
filesystem.add_option('-l', '--literal',
|
||||||
|
action='store_true', dest='useliteral', help='use literal title in file name', default=False)
|
||||||
filesystem.add_option('-o', '--output',
|
filesystem.add_option('-o', '--output',
|
||||||
dest='outtmpl', metavar='TPL', help='output filename template')
|
dest='outtmpl', metavar='TPL', help='output filename template')
|
||||||
filesystem.add_option('-a', '--batch-file',
|
filesystem.add_option('-a', '--batch-file',
|
||||||
|
|
Loading…
Reference in a new issue