summaryrefslogtreecommitdiff
path: root/common/common.cpp
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-11-01 21:15:55 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-11-01 21:15:55 +0200
commitff8f9a88da0018972dfdf6fe64b5c8992caabd9c (patch)
tree6e20b6314190cc369f4e128f1a424be5bd1d2dd7 /common/common.cpp
parent50337961a678fce4081554b24e56e86b67660163 (diff)
common : minor (#3715)
Diffstat (limited to 'common/common.cpp')
-rw-r--r--common/common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/common.cpp b/common/common.cpp
index 89be4126..7a48e9d1 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -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);
}