summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-28 04:26:48 -0400
commitb4304515ff0501da47cbcd4b47c770e2bb55a83d (patch)
tree03bfa7fb21d09cffa20ded425016ad8b0aef7e21 /config.cc
parent863485ad8ff29399fb9eafd1cfc863c5e8aa27f6 (diff)
downloadfork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.gz
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.tar.bz2
fork-ledger-b4304515ff0501da47cbcd4b47c770e2bb55a83d.zip
ledger.so (the python module) now builds based on autoconf discovery
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:") {