From 21a4d4cdab439227ee534a82d271e2c9d3132eef Mon Sep 17 00:00:00 2001 From: Armin Stross-Radschinski Date: Tue, 7 Oct 2025 20:19:46 +0200 Subject: [PATCH] Update whisper command line help mentioning --word-timestamps (#1390) --- whisper/mlx_whisper/cli.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/whisper/mlx_whisper/cli.py b/whisper/mlx_whisper/cli.py index 7d08a043..ee821264 100644 --- a/whisper/mlx_whisper/cli.py +++ b/whisper/mlx_whisper/cli.py @@ -156,42 +156,42 @@ def build_parser(): "--prepend-punctuations", type=str, default="\"'“¿([{-", - help="If word-timestamps is True, merge these punctuation symbols with the next word", + help="If --word-timestamps is True, merge these punctuation symbols with the next word", ) parser.add_argument( "--append-punctuations", type=str, default="\"'.。,,!!??::”)]}、", - help="If word_timestamps is True, merge these punctuation symbols with the previous word", + help="If --word-timestamps is True, merge these punctuation symbols with the previous word", ) parser.add_argument( "--highlight-words", type=str2bool, default=False, - help="(requires --word_timestamps True) underline each word as it is spoken in srt and vtt", + help="(requires --word-timestamps True) underline each word as it is spoken in srt and vtt", ) parser.add_argument( "--max-line-width", type=int, default=None, - help="(requires --word_timestamps True) the maximum number of characters in a line before breaking the line", + help="(requires --word-timestampss True) the maximum number of characters in a line before breaking the line", ) parser.add_argument( "--max-line-count", type=int, default=None, - help="(requires --word_timestamps True) the maximum number of lines in a segment", + help="(requires --word-timestamps True) the maximum number of lines in a segment", ) parser.add_argument( "--max-words-per-line", type=int, default=None, - help="(requires --word_timestamps True, no effect with --max_line_width) the maximum number of words in a segment", + help="(requires --word-timestamps True, no effect with --max-line-width) the maximum number of words in a segment", ) parser.add_argument( "--hallucination-silence-threshold", type=optional_float, - help="(requires --word_timestamps True) skip silent periods longer than this threshold (in seconds) when a possible hallucination is detected", + help="(requires --word-timestamps True) skip silent periods longer than this threshold (in seconds) when a possible hallucination is detected", ) parser.add_argument( "--clip-timestamps",