aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-05-11 05:52:31 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-11 07:25:56 +0530
commit3d38b2d6d014b8b0d90e72213420441634744efb (patch)
tree36134597b34c09b835ad0278d708a1b5997d311d /yt_dlp/options.py
parent3a408f9d199127ca2626359e21a866a09ab236b3 (diff)
downloadhypervideo-pre-3d38b2d6d014b8b0d90e72213420441634744efb.tar.lz
hypervideo-pre-3d38b2d6d014b8b0d90e72213420441634744efb.tar.xz
hypervideo-pre-3d38b2d6d014b8b0d90e72213420441634744efb.zip
Fix `--date today`
Closes #3704
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 60f866570..8a9195217 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -435,9 +435,8 @@ 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)[+-][0-9](day|week|month|year)(s)?"'))
+ 'Download only videos uploaded on this date. The date can be "YYYYMMDD" or in the format '
+ '[now|today|yesterday][-N[day|week|month|year]]. Eg: --date today-2weeks'))
selection.add_option(
'--datebefore',
metavar='DATE', dest='datebefore', default=None,