Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions youtube_dl/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,15 +720,15 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser):
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,
help='Force resume of partially downloaded files. By default, youtube-dl will resume downloads if possible.')
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,
Expand Down
Loading