summaryrefslogtreecommitdiff
path: root/libcppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-20 14:28:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-20 14:28:36 +0200
commit29108531a0569f0a77834b5cc49aeac128cbfd64 (patch)
tree9ca62c161888afc3c19234bdcc6db27ae7a2b93b /libcppbuild.cc
parent94b0690973a460c86e36a7935adbe201e4f66361 (diff)
Exit after printing help.
Diffstat (limited to 'libcppbuild.cc')
-rw-r--r--libcppbuild.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcppbuild.cc b/libcppbuild.cc
index c18d725..927fe72 100644
--- a/libcppbuild.cc
+++ b/libcppbuild.cc
@@ -258,6 +258,7 @@ int main(int argc, char* argv[])
[&]() {
std::cout << "usage stuff\n";
opt.help();
+ exit(0);
return 0;
});