common : minor (#3715)

This commit is contained in:
Georgi Gerganov 2023-11-01 21:15:55 +02:00
parent 50337961a6
commit ff8f9a88da
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -110,8 +110,8 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
exit(0);
}
}
catch (const std::invalid_argument& ex) {
fprintf(stderr, ex.what());
catch (const std::invalid_argument & ex) {
fprintf(stderr, "%s\n", ex.what());
gpt_print_usage(argc, argv, gpt_params());
exit(1);
}