Skip to content
Snippets Groups Projects
Commit 458a2694 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Set return code to 0 on proper --help

Change-Id: Ic1b60bec6b85209040d4a270e45aa3f6e8f64e51
parent 06edd2fc
Branches
Tags
No related merge requests found
......@@ -120,6 +120,9 @@ int main(int argc, char **argv)
return 0;
case 'h':
case '?':
free(config_fn);
help(argc, argv);
return 0;
default:
free(config_fn);
help(argc, argv);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment