1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:06:49 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
M.K.
21e1cd575e
Merge c937458d80 into c5098961b0 2024-08-15 14:58:37 +02:00
mk-pmb
c937458d80 [doc] Explain that the opposite of --no-overwrites is --no-continue. 2024-06-01 09:18:57 +02:00
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,