mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-09 12:23:39 -04:00
added exit() to failure method
This commit is contained in:
parent
a8c7660076
commit
3718682c6d
@ -18,6 +18,7 @@ class MyOutput : public StdOutput
|
|||||||
{
|
{
|
||||||
cerr << "my failure message: " << endl
|
cerr << "my failure message: " << endl
|
||||||
<< e.what() << endl;
|
<< e.what() << endl;
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void usage(CmdLineInterface& c)
|
virtual void usage(CmdLineInterface& c)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user