diff options
author | Timo Weingärtner <timo@tiwe.de> | 2012-02-03 13:52:04 +0100 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2012-02-03 13:54:17 +0100 |
commit | 894df89979fdd604588eae999f984b05e471ceb8 (patch) | |
tree | 4c60e8034b556e96348e2ce67bee92a4ce349771 /hadori.C | |
parent | cee77d8be37b074fd6e039a8207e30f2f067c561 (diff) | |
download | hadori-894df89979fdd604588eae999f984b05e471ceb8.tar.gz |
Output help to stdout and exit with EX_OK.
Diffstat (limited to 'hadori.C')
-rw-r--r-- | hadori.C | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -206,9 +206,9 @@ int main (int const argc, char ** argv) { po::notify(config); if (config.count("help")) { - error << "Invocation: hadori [ OPTIONS ] [ ARGUMENTS ]" << std::endl; - error << opts << std::endl; - return EX_USAGE; + std::cout << "Invocation: hadori [ OPTIONS ] [ ARGUMENTS ]" << std::endl; + std::cout << opts << std::endl; + return EX_OK; } if (not config.count("debug")) |