From 7436105e43a8c8a0b520d3f584b64b5daa752e75 Mon Sep 17 00:00:00 2001 From: Matija Pevec Date: Sat, 4 Feb 2023 22:43:07 +0100 Subject: [PATCH] fix: arguments for main --- examples/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index a11dd6f..98088d5 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -118,7 +118,7 @@ bool whisper_params_parse(int argc, char ** argv, whisper_params & params) { else if (arg == "-su" || arg == "--speed-up") { params.speed_up = true; } else if (arg == "-tr" || arg == "--translate") { params.translate = true; } else if (arg == "-di" || arg == "--diarize") { params.diarize = true; } - else if (arg == "-sow" || arg == "--split_on_word") { params.split_on_word = true; } + else if (arg == "-sow" || arg == "--split-on-word") { params.split_on_word = true; } else if (arg == "-otxt" || arg == "--output-txt") { params.output_txt = true; } else if (arg == "-ovtt" || arg == "--output-vtt") { params.output_vtt = true; } else if (arg == "-osrt" || arg == "--output-srt") { params.output_srt = true; }