From e2bf84392bcbe89ae60d771705af014495343b27 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Thu, 8 Apr 2021 18:12:27 +0200 Subject: [PATCH] [sync_url] Properly declare "no-videos" as flag --- sync_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_url.py b/sync_url.py index ab079c3..dd88bf7 100755 --- a/sync_url.py +++ b/sync_url.py @@ -74,7 +74,7 @@ def main() -> None: "one line in the following format: ':'") parser.add_argument("-k", "--keyring", action="store_true", help="Use the system keyring service for authentication") - parser.add_argument('--no-videos', nargs='?', default=None, help="Don't download videos") + parser.add_argument('--no-videos', action="store_true", help="Don't download videos") parser.add_argument('--local-first', action="store_true", help="Don't prompt for confirmation, keep existing files") parser.add_argument('--remote-first', action="store_true",