From 6c5169573d2976e87e149721563098f65f8209e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 4 Feb 2017 22:07:05 +0100 Subject: [PATCH] fixed bug regarding the --nonverbose option (would take up URL argument) --- coub-dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coub-dl.py b/coub-dl.py index f054670..80872e6 100644 --- a/coub-dl.py +++ b/coub-dl.py @@ -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.')