From 3718682c6da8a3f96ac1fa81b2cef5e2bb741e4b Mon Sep 17 00:00:00 2001 From: mes5k Date: Sun, 26 Nov 2006 18:29:52 +0000 Subject: [PATCH] added exit() to failure method --- examples/test4.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/test4.cpp b/examples/test4.cpp index bd19832..db64aba 100644 --- a/examples/test4.cpp +++ b/examples/test4.cpp @@ -18,6 +18,7 @@ class MyOutput : public StdOutput { cerr << "my failure message: " << endl << e.what() << endl; + exit(1); } virtual void usage(CmdLineInterface& c)