Skip to content

Commit 9d7afca

Browse files
committed
Return 0, not 1, when --help is passed.
Fixes #5329. [SVN r70079]
1 parent 7051655 commit 9d7afca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/first.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int main(int ac, char* av[])
2929

3030
if (vm.count("help")) {
3131
cout << desc << "\n";
32-
return 1;
32+
return 0;
3333
}
3434

3535
if (vm.count("compression")) {

0 commit comments

Comments
 (0)