From 9d7afca35c1ed51b001e68decaef7bd975e359ba Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 17 Mar 2011 21:25:16 +0000 Subject: [PATCH] Return 0, not 1, when --help is passed. Fixes #5329. [SVN r70079] --- example/first.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/first.cpp b/example/first.cpp index 7f9ab57..878db0a 100644 --- a/example/first.cpp +++ b/example/first.cpp @@ -29,7 +29,7 @@ int main(int ac, char* av[]) if (vm.count("help")) { cout << desc << "\n"; - return 1; + return 0; } if (vm.count("compression")) {