summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.cc b/config.cc
index 0b7e22c0..3d682395 100644
--- a/config.cc
+++ b/config.cc
@@ -119,12 +119,12 @@ DEF_OPT_HANDLERS();
OPT_BEGIN(help, "h") {
option_help(std::cout);
- std::exit(0);
+ throw 0;
} OPT_END(help);
OPT_BEGIN(version, "v") {
show_version(std::cout);
- std::exit(0);
+ throw 0;
} OPT_END(version);
OPT_BEGIN(init, "i:") {