aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2009-04-29 19:32:40 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:24:12 +0100
commit1c76e23e0fca5e16a1fc4f0baca58503ba7ec639 (patch)
treef1c2cb86336a2f21ff877639aea641cc357753da
parent42bcd27d3bc30c12218630c68af364190f819cc2 (diff)
Move the -t and -l options to the filesystem group
-rwxr-xr-xyoutube-dl8
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube-dl b/youtube-dl
index 4acdecd79..91ee099ce 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1036,13 +1036,13 @@ if __name__ == '__main__':
action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
verbosity.add_option('-e', '--get-title',
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)
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',
dest='outtmpl', metavar='TPL', help='output filename template')
filesystem.add_option('-a', '--batch-file',