mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
[sync_url] Properly declare "no-videos" as flag
This commit is contained in:
parent
946b7a7931
commit
e2bf84392b
@ -74,7 +74,7 @@ def main() -> None:
|
|||||||
"one line in the following format: '<user>:<password>'")
|
"one line in the following format: '<user>:<password>'")
|
||||||
parser.add_argument("-k", "--keyring", action="store_true",
|
parser.add_argument("-k", "--keyring", action="store_true",
|
||||||
help="Use the system keyring service for authentication")
|
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",
|
parser.add_argument('--local-first', action="store_true",
|
||||||
help="Don't prompt for confirmation, keep existing files")
|
help="Don't prompt for confirmation, keep existing files")
|
||||||
parser.add_argument('--remote-first', action="store_true",
|
parser.add_argument('--remote-first', action="store_true",
|
||||||
|
Loading…
Reference in New Issue
Block a user