From 2d30509fc893f58cac77c25134a246ed9d76e7ed Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 5 Nov 2020 23:13:21 +0530 Subject: Add --force-download-archive by by h-h-h-h Authored-by: h-h-h-h --- youtube_dlc/options.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'youtube_dlc/options.py') diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index bd85abd3a..e85006a87 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -682,8 +682,13 @@ def parseOpts(overrideArguments=None): verbosity.add_option( '--print-json', action='store_true', dest='print_json', default=False, - help='Be quiet and print the video information as JSON (video is still being downloaded).', - ) + help='Be quiet and print the video information as JSON (video is still being downloaded).') + verbosity.add_option( + '--force-write-download-archive', '--force-write-archive', '--force-download-archive', + action='store_true', dest='force_write_download_archive', default=False, + help=( + 'Force download archive entries to be written as far as no errors occur,' + 'even if -s or another simulation switch is used.')) verbosity.add_option( '--newline', action='store_true', dest='progress_with_newline', default=False, -- cgit v1.2.3