summaryrefslogtreecommitdiffhomepage
path: root/ymake.cpp
diff options
context:
space:
mode:
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);
}