1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Clarify that some options are default behaviour.

This commit is contained in:
alxnull 2019-04-14 22:05:39 +02:00 committed by alxnull
parent c317b6163b
commit 2adc9f985d
2 changed files with 7 additions and 6 deletions

View File

@ -60,7 +60,8 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
skip unavailable videos in a playlist skip unavailable videos in a playlist
--abort-on-error Abort downloading of further videos (in the --abort-on-error Abort downloading of further videos (in the
playlist or the command line) if an error 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 --dump-user-agent Display the current browser identification
--list-extractors List all supported extractors --list-extractors List all supported extractors
--extractor-descriptions Output descriptions of all supported --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 --no-playlist Download only the video, if the URL refers
to a video and a playlist. to a video and a playlist.
--yes-playlist Download the playlist, if the URL refers to --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-limit YEARS Download only videos suitable for the given
age age
--download-archive FILE Download only videos not listed in the --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 --print-traffic Display sent and read HTTP traffic
-C, --call-home Contact the youtube-dl server for debugging -C, --call-home Contact the youtube-dl server for debugging
--no-call-home Do NOT contact the youtube-dl server for --no-call-home Do NOT contact the youtube-dl server for
debugging debugging. This is the default.
## Workarounds: ## Workarounds:
--encoding ENCODING Force the specified encoding (experimental) --encoding ENCODING Force the specified encoding (experimental)

View File

@ -148,7 +148,7 @@ def parseOpts(overrideArguments=None):
general.add_option( general.add_option(
'--abort-on-error', '--abort-on-error',
action='store_false', dest='ignoreerrors', 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( general.add_option(
'--dump-user-agent', '--dump-user-agent',
action='store_true', dest='dump_user_agent', default=False, action='store_true', dest='dump_user_agent', default=False,
@ -335,7 +335,7 @@ def parseOpts(overrideArguments=None):
selection.add_option( selection.add_option(
'--yes-playlist', '--yes-playlist',
action='store_false', dest='noplaylist', default=False, 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( selection.add_option(
'--age-limit', '--age-limit',
metavar='YEARS', dest='age_limit', default=None, type=int, metavar='YEARS', dest='age_limit', default=None, type=int,
@ -674,7 +674,7 @@ def parseOpts(overrideArguments=None):
verbosity.add_option( verbosity.add_option(
'--no-call-home', '--no-call-home',
dest='call_home', action='store_false', default=False, 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 = optparse.OptionGroup(parser, 'Filesystem Options')
filesystem.add_option( filesystem.add_option(