Skip to content

Commit ff8f9a8

Browse files
committed
common : minor (#3715)
1 parent 5033796 commit ff8f9a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
110110
exit(0);
111111
}
112112
}
113-
catch (const std::invalid_argument& ex) {
114-
fprintf(stderr, ex.what());
113+
catch (const std::invalid_argument & ex) {
114+
fprintf(stderr, "%s\n", ex.what());
115115
gpt_print_usage(argc, argv, gpt_params());
116116
exit(1);
117117
}

0 commit comments

Comments
 (0)