Commit 8295fed4 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Exit with 0 if -h was used

parent 95a15752
......@@ -391,6 +391,9 @@ main(int argc, char **argv)
assert(VUT_Arg('c', NULL));
while ((i = getopt(argc, argv, vopt_spec.vopt_optstring)) != -1) {
switch (i) {
case 'h':
/* Usage help */
usage(0);
case 'P':
colon = strchr(optarg, ':');
/* no colon, take the profile as a name*/
......
Markdown is supported
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