summaryrefslogtreecommitdiffhomepage
path: root/ymake.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2024-05-05 17:15:49 +0200
committerRoland Reichwein <mail@reichwein.it>2024-05-05 17:15:49 +0200
commit81bcfee54362c736e865ebeb638aeadfa9cc9e24 (patch)
tree4da9b8f2f233dacf4c0da72e1f26b55181a58be3 /ymake.cpp
parent28609f436966f731f91e84d10c1d7d0621b4abe8 (diff)
Factored out LanguageSettings
Diffstat (limited to 'ymake.cpp')
-rw-r--r--ymake.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymake.cpp b/ymake.cpp
index 62ddeb1..4747555 100644
--- a/ymake.cpp
+++ b/ymake.cpp
@@ -51,7 +51,7 @@ int ymake(int argc, char* argv[])
action = argv[1];
} else {
std::cerr << "Invalid arguments." << std::endl;
- usage;
+ usage();
exit(1);
}
@@ -68,7 +68,7 @@ int ymake(int argc, char* argv[])
throw std::runtime_error("unimplemented");
} else {
std::cerr << "Invalid action: " << action << std::endl;
- usage;
+ usage();
exit(1);
}