1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +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
--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)

View File

@ -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(