fixed bug regarding the --nonverbose option (would take up URL argument)
This commit is contained in:
parent
a39bb01460
commit
6c5169573d
@ -12,7 +12,7 @@ from functools import wraps
|
||||
|
||||
# parse arguments
|
||||
parser = ArgumentParser(description='Download player-looped videos with youtube-dl & ffmpeg.')
|
||||
parser.add_argument('-nv', '--nonverbose', help='Turn off non-critical messages to user.')
|
||||
parser.add_argument('-nv', '--nonverbose', action='store_true', help='Turn off non-critical messages to user.')
|
||||
parser.add_argument('-o', '--output', default=None, help='Specify name of the output file (use -e for extension).')
|
||||
parser.add_argument('-e', '--extension', default='mp4', help='Set the container to use for the output.')
|
||||
parser.add_argument('url', type=str, help='The URL of the site containing the video to download.')
|
||||
|
Loading…
Reference in New Issue
Block a user