examples : change exit code for requires_value_error function (#4105)

This commit is contained in:
baiqieji123
2026-10-12 07:01:56 +02:00
committed by GitHub
parent 7e26d3b0d5
commit 0c7be69637
+1 -1
View File
@@ -126,7 +126,7 @@ static char * whisper_param_turn_lowercase(char * in){
static char * requires_value_error(const std::string & arg) {
fprintf(stderr, "error: argument %s requires value\n", arg.c_str());
exit(0);
exit(1);
}
static bool whisper_params_parse(int argc, char ** argv, whisper_params & params) {