summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gen_ugc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gen_ugc.cc b/src/gen_ugc.cc
index d8153fe..9100946 100644
--- a/src/gen_ugc.cc
+++ b/src/gen_ugc.cc
@@ -277,6 +277,7 @@ int main(int argc, char** argv) {
args->option_argument('p', "prefix", "ARG", "Prefix for exported method");
std::vector<std::string_view> arguments;
if (!args->run(argc, argv, &arguments)) {
+ args->print_error(std::cerr);
std::cerr << "Try `gen_u --help` for usage\n";
return 1;
}