]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
main : fix help for --no-timestamps arg (#908)
authorRich Jones <redacted>
Sun, 14 May 2023 14:54:57 +0000 (16:54 +0200)
committerGitHub <redacted>
Sun, 14 May 2023 14:54:57 +0000 (17:54 +0300)
examples/main/main.cpp

index c6bf32ed8b81f2e508e93d9fd56e73b6cfe3fd4a..e659b7e59e6bbb129b2ee57a7f1d804a684b51c3 100644 (file)
@@ -191,7 +191,7 @@ void whisper_print_usage(int /*argc*/, char ** argv, const whisper_params & para
     fprintf(stderr, "  -ps,       --print-special     [%-7s] print special tokens\n",                           params.print_special ? "true" : "false");
     fprintf(stderr, "  -pc,       --print-colors      [%-7s] print colors\n",                                   params.print_colors ? "true" : "false");
     fprintf(stderr, "  -pp,       --print-progress    [%-7s] print progress\n",                                 params.print_progress ? "true" : "false");
-    fprintf(stderr, "  -nt,       --no-timestamps     [%-7s] do not print timestamps\n",                        params.no_timestamps ? "false" : "true");
+    fprintf(stderr, "  -nt,       --no-timestamps     [%-7s] do not print timestamps\n",                        params.no_timestamps ? "true" : "false");
     fprintf(stderr, "  -l LANG,   --language LANG     [%-7s] spoken language ('auto' for auto-detect)\n",       params.language.c_str());
     fprintf(stderr, "  -dl,       --detect-language   [%-7s] exit after automatically detecting language\n",    params.detect_language ? "true" : "false");
     fprintf(stderr, "             --prompt PROMPT     [%-7s] initial prompt\n",                                 params.prompt.c_str());