diff options
author | Jesús <heckyel@hyperbola.info> | 2021-10-18 12:52:41 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-10-18 12:52:41 -0500 |
commit | 59687ede1efedf6e05b2cb0f943f3f6050bab411 (patch) | |
tree | 0815696227b22322bd4bafc07b23bbd6790c10c9 /yt_dlp/options.py | |
parent | 7872079c20088eb804b596becfe77e441da6cbf6 (diff) | |
parent | 176f1866cb437dd59cf8f600638cfd7ba2a8525e (diff) | |
download | hypervideo-pre-59687ede1efedf6e05b2cb0f943f3f6050bab411.tar.lz hypervideo-pre-59687ede1efedf6e05b2cb0f943f3f6050bab411.tar.xz hypervideo-pre-59687ede1efedf6e05b2cb0f943f3f6050bab411.zip |
update from upstream
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index aa774616c..f45332ee1 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -1374,7 +1374,11 @@ def parseOpts(overrideArguments=None): postproc.add_option( '--remove-chapters', metavar='REGEX', dest='remove_chapters', action='append', - help='Remove chapters whose title matches the given regular expression. This option can be used multiple times') + help=( + 'Remove chapters whose title matches the given regular expression. ' + 'Time ranges prefixed by a "*" can also be used in place of chapters to remove the specified range. ' + 'Eg: --remove-chapters "*10:15-15:00" --remove-chapters "intro". ' + 'This option can be used multiple times')) postproc.add_option( '--no-remove-chapters', dest='remove_chapters', action='store_const', const=None, help='Do not remove any chapters from the file (default)') |