aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2020-11-05 23:13:21 +0530
committerpukkandan <pukkandan@gmail.com>2020-12-13 20:05:04 +0530
commit2d30509fc893f58cac77c25134a246ed9d76e7ed (patch)
treef5a915077cc6f5dc7abf42554cf6bfadda4203ee /youtube_dlc/options.py
parent732044afb2e8ffbaa37fe91310906ff549edd6ad (diff)
downloadhypervideo-pre-2d30509fc893f58cac77c25134a246ed9d76e7ed.tar.lz
hypervideo-pre-2d30509fc893f58cac77c25134a246ed9d76e7ed.tar.xz
hypervideo-pre-2d30509fc893f58cac77c25134a246ed9d76e7ed.zip
Add --force-download-archive by by h-h-h-h
Authored-by: h-h-h-h
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r--youtube_dlc/options.py9
1 files changed, 7 insertions, 2 deletions
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,