From 894df89979fdd604588eae999f984b05e471ceb8 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Fri, 3 Feb 2012 13:52:04 +0100 Subject: Output help to stdout and exit with EX_OK. --- hadori.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hadori.C') diff --git a/hadori.C b/hadori.C index 1b12de4..f462d66 100644 --- a/hadori.C +++ b/hadori.C @@ -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")) -- cgit v1.2.3