Commit 509f8aa0 authored by Petr Baudis's avatar Petr Baudis
Browse files

compctl: Show usage on unrecognized options

parent 6dd3914e
......@@ -233,6 +233,10 @@ main(int argc, char *argv[])
} else if (!strcmp(cmd, "--help")) {
help(stdout);
} else {
help(stderr);
return EXIT_FAILURE;
}
}
......
Supports Markdown
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