Add initial documentation

This commit is contained in:
Elyse 2023-03-11 19:10:21 -06:00
parent fbae888c65
commit 3faa1e33ed

View File

@ -415,7 +415,12 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
general.add_option( general.add_option(
'--live-from-start', '--live-from-start',
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.',
'Negative values are allowed for specifying a previous time (only hours and minutes), ',
'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 "*-2hours--1hour" (download one hour, starting from 2 hours 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',