Skip to content

Commit 02e0cf5

Browse files
committed
Return exit code 0 for --help
1 parent 06dff02 commit 02e0cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void get_options(int argc, char **argv, po::variables_map &options) {
146146
if (options.count("help")) {
147147
std::cout << desc << std::endl;
148148
output_backend_options(std::cout);
149-
exit(1);
149+
exit(0);
150150
}
151151

152152
po::store(po::parse_environment(desc,

0 commit comments

Comments
 (0)