aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-01-02 19:39:28 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-01-02 19:40:13 +0530
commit8e174ba7dee040d3fb4e14b21b39c3993dd79dd1 (patch)
treea24e1d1a772ad823671201b1dec2c266d01e8b9d /yt_dlp/options.py
parent05997b6e98e638d97d409c65bb5eb86da68f3b64 (diff)
downloadhypervideo-pre-8e174ba7dee040d3fb4e14b21b39c3993dd79dd1.tar.lz
hypervideo-pre-8e174ba7dee040d3fb4e14b21b39c3993dd79dd1.tar.xz
hypervideo-pre-8e174ba7dee040d3fb4e14b21b39c3993dd79dd1.zip
[docs] Improvements
Closes #5846, closes #5774
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index feb4b261d..113a73a70 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -587,8 +587,9 @@ def create_parser():
'--date',
metavar='DATE', dest='date', default=None,
help=(
- 'Download only videos uploaded on this date. The date can be "YYYYMMDD" or in the format '
- '[now|today|yesterday][-N[day|week|month|year]]. E.g. --date today-2weeks'))
+ 'Download only videos uploaded on this date. '
+ 'The date can be "YYYYMMDD" or in the format [now|today|yesterday][-N[day|week|month|year]]. '
+ 'E.g. "--date today-2weeks" downloads only videos uploaded on the same day two weeks ago'))
selection.add_option(
'--datebefore',
metavar='DATE', dest='datebefore', default=None,
@@ -1653,7 +1654,7 @@ def create_parser():
'Supported values of "WHEN" are the same as that of --use-postprocessor (default: after_move). '
'Same syntax as the output template can be used to pass any field as arguments to the command. '
'After download, an additional field "filepath" that contains the final path of the downloaded file '
- 'is also available, and if no fields are passed, %(filepath)q is appended to the end of the command. '
+ 'is also available, and if no fields are passed, %(filepath,_filename|)q is appended to the end of the command. '
'This option can be used multiple times'))
postproc.add_option(
'--no-exec',