[sync_url] Properly declare "no-videos" as flag

This commit is contained in:
I-Al-Istannen 2021-04-08 18:12:27 +02:00
parent 946b7a7931
commit e2bf84392b

View File

@ -74,7 +74,7 @@ def main() -> None:
"one line in the following format: '<user>:<password>'")
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",