fix: add missing short command line argument -mli for multiline-input (#8261)

This commit is contained in:
MistApproach 2024-07-02 22:56:46 +02:00 committed by GitHub
parent 3e2618bc7b
commit a27152b602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -757,7 +757,7 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
params.cache_type_v = argv[++i];
return true;
}
if (arg == "--multiline-input") {
if (arg == "-mli" || arg == "--multiline-input") {
params.multiline_input = true;
return true;
}