1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 19:22:06 +00:00

[doc] Explain that the opposite of --no-overwrites is --no-continue.

This commit is contained in:
mk-pmb 2024-06-01 09:18:57 +02:00
parent c5098961b0
commit 4897a7e529
2 changed files with 7 additions and 4 deletions

View file

@ -255,12 +255,15 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
--restrict-filenames Restrict filenames to only ASCII
characters, and avoid "&" and spaces in
filenames
-w, --no-overwrites Do not overwrite files
-w, --no-overwrites Do not overwrite files. (For the
opposite, see --no-continue.)
-c, --continue Force resume of partially downloaded
files. By default, youtube-dl will
resume downloads if possible.
--no-continue Do not resume partially downloaded
files (restart from beginning)
files: Instead, restart from the
beginning and ruthlessly overwrite
existing files.
--no-part Do not use .part files - write directly
into output file
--no-mtime Do not use the Last-modified header to

View file

@ -724,7 +724,7 @@ def parseOpts(overrideArguments=None):
filesystem.add_option(
'-w', '--no-overwrites',
action='store_true', dest='nooverwrites', default=False,
help='Do not overwrite files')
help='Do not overwrite files. (For the opposite, see --no-continue.)')
filesystem.add_option(
'-c', '--continue',
action='store_true', dest='continue_dl', default=True,
@ -732,7 +732,7 @@ def parseOpts(overrideArguments=None):
filesystem.add_option(
'--no-continue',
action='store_false', dest='continue_dl',
help='Do not resume partially downloaded files (restart from beginning)')
help='Do not resume partially downloaded files: Instead, restart from the beginning and ruthlessly overwrite existing files.')
filesystem.add_option(
'--no-part',
action='store_true', dest='nopart', default=False,