Improve option documentation

This commit is contained in:
Elyse 2023-03-12 01:37:33 -06:00
parent 544836de83
commit b131f3d1f1

View file

@ -417,10 +417,10 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
action='store_true', dest='live_from_start', action='store_true', dest='live_from_start',
help=('Download livestreams from the start. Currently only supported for YouTube (Experimental).', help=('Download livestreams from the start. Currently only supported for YouTube (Experimental).',
'Time ranges can be specified using --download-sections to download only a part of the stream.', 'Time ranges can be specified using --download-sections to download only a part of the stream.',
'Negative values are allowed for specifying a previous time (only hours and minutes), ', 'Negative values are allowed for specifying a previous time, ',
'e.g. --download-sections "*-24hours-0" (download last 24 hours),', 'e.g. --download-sections "*-24hours - 0" (download last 24 hours),',
'e.g. --download-sections "*-1hour-30minutes" (download last hour and continue until next 30 minutes),', 'e.g. --download-sections "*-1h - 30m" (download from 1 hour ago until the next 30 minutes),',
'e.g. --download-sections "*-2hours--1hour" (download one hour, starting from 2 hours ago)')) 'e.g. --download-sections "*-3days - -2days" (download from 3 days ago until 2 days ago'))
general.add_option( general.add_option(
'--no-live-from-start', '--no-live-from-start',
action='store_false', dest='live_from_start', action='store_false', dest='live_from_start',