From 2adc9f985d77a9f2fd441b0466b1d8ce4315ffee Mon Sep 17 00:00:00 2001 From: alxnull <26907770+alxnull@users.noreply.github.com> Date: Sun, 14 Apr 2019 22:05:39 +0200 Subject: [PATCH] Clarify that some options are default behaviour. --- README.md | 7 ++++--- youtube_dl/options.py | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c39b13616..20a9ed452 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,8 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo skip unavailable videos in a playlist --abort-on-error Abort downloading of further videos (in the playlist or the command line) if an error - occurs + occurs. youtube-dl aborts on errors by + default. --dump-user-agent Display the current browser identification --list-extractors List all supported extractors --extractor-descriptions Output descriptions of all supported @@ -170,7 +171,7 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo --no-playlist Download only the video, if the URL refers to a video and a playlist. --yes-playlist Download the playlist, if the URL refers to - a video and a playlist. + a video and a playlist. This is the default --age-limit YEARS Download only videos suitable for the given age --download-archive FILE Download only videos not listed in the @@ -308,7 +309,7 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo --print-traffic Display sent and read HTTP traffic -C, --call-home Contact the youtube-dl server for debugging --no-call-home Do NOT contact the youtube-dl server for - debugging + debugging. This is the default. ## Workarounds: --encoding ENCODING Force the specified encoding (experimental) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 1ffabc62b..8fb82277d 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -148,7 +148,7 @@ def parseOpts(overrideArguments=None): general.add_option( '--abort-on-error', action='store_false', dest='ignoreerrors', - help='Abort downloading of further videos (in the playlist or the command line) if an error occurs') + help='Abort downloading of further videos (in the playlist or the command line) if an error occurs. youtube-dl aborts on errors by default.') general.add_option( '--dump-user-agent', action='store_true', dest='dump_user_agent', default=False, @@ -335,7 +335,7 @@ def parseOpts(overrideArguments=None): selection.add_option( '--yes-playlist', action='store_false', dest='noplaylist', default=False, - help='Download the playlist, if the URL refers to a video and a playlist.') + help='Download the playlist, if the URL refers to a video and a playlist. This is the default.') selection.add_option( '--age-limit', metavar='YEARS', dest='age_limit', default=None, type=int, @@ -674,7 +674,7 @@ def parseOpts(overrideArguments=None): verbosity.add_option( '--no-call-home', dest='call_home', action='store_false', default=False, - help='Do NOT contact the youtube-dl server for debugging') + help='Do NOT contact the youtube-dl server for debugging. This is the default.') filesystem = optparse.OptionGroup(parser, 'Filesystem Options') filesystem.add_option(