aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-10-31 14:45:59 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-10-31 14:47:33 +0530
commit0930b11fdaff2141ad951a8ed6d90417bfde7059 (patch)
tree67e28cd153d90d0cbac465545f35a390d5ed2d8a /yt_dlp/options.py
parenta0bb6ce58db5b3124962037ca12e78cbd348f56c (diff)
downloadhypervideo-pre-0930b11fdaff2141ad951a8ed6d90417bfde7059.tar.lz
hypervideo-pre-0930b11fdaff2141ad951a8ed6d90417bfde7059.tar.xz
hypervideo-pre-0930b11fdaff2141ad951a8ed6d90417bfde7059.zip
[docs,cleanup] Improve docs and minor cleanup
Closes #1387, #1404, #1408, #1485, #1415, #1450, #1492
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 5499ab13e..a3a6c74b3 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -209,7 +209,7 @@ def parseOpts(overrideArguments=None):
general.add_option(
'-i', '--ignore-errors',
action='store_true', dest='ignoreerrors',
- help='Ignore download and postprocessing errors. The download will be considered successfull even if the postprocessing fails')
+ help='Ignore download and postprocessing errors. The download will be considered successful even if the postprocessing fails')
general.add_option(
'--no-abort-on-error',
action='store_const', dest='ignoreerrors', const='only_download',
@@ -383,7 +383,7 @@ def parseOpts(overrideArguments=None):
'--date',
metavar='DATE', dest='date', default=None,
help=(
- 'Download only videos uploaded in this date. '
+ 'Download only videos uploaded on this date. '
'The date can be "YYYYMMDD" or in the format '
'"(now|today)[+-][0-9](day|week|month|year)(s)?"'))
selection.add_option(
@@ -840,7 +840,7 @@ def parseOpts(overrideArguments=None):
'--ignore-no-formats-error',
action='store_true', dest='ignore_no_formats_error', default=False,
help=(
- 'Ignore "No video formats" error. Usefull for extracting metadata '
+ 'Ignore "No video formats" error. Useful for extracting metadata '
'even if the videos are not actually available for download (experimental)'))
verbosity.add_option(
'--no-ignore-no-formats-error',
@@ -935,7 +935,7 @@ def parseOpts(overrideArguments=None):
'Template for progress outputs, optionally prefixed with one of "download:" (default), '
'"download-title:" (the console title), "postprocess:", or "postprocess-title:". '
'The video\'s fields are accessible under the "info" key and '
- 'the progress attributes are accessible under "progress" key. Eg: '
+ 'the progress attributes are accessible under "progress" key. E.g.: '
# TODO: Document the fields inside "progress"
'--console-title --progress-template "download-title:%(info.id)s-%(progress.eta)s"'))
verbosity.add_option(
@@ -1028,11 +1028,11 @@ def parseOpts(overrideArguments=None):
filesystem.add_option(
'--windows-filenames',
action='store_true', dest='windowsfilenames', default=False,
- help='Force filenames to be windows compatible')
+ help='Force filenames to be Windows-compatible')
filesystem.add_option(
'--no-windows-filenames',
action='store_false', dest='windowsfilenames',
- help='Make filenames windows compatible only if using windows (default)')
+ help='Make filenames Windows-compatible only if using Windows (default)')
filesystem.add_option(
'--trim-filenames', '--trim-file-names', metavar='LENGTH',
dest='trim_file_name', default=0, type=int,