diff --git a/compel/src/main.c b/compel/src/main.c index a2e9a56ff..7fa4d7c28 100644 --- a/compel/src/main.c +++ b/compel/src/main.c @@ -201,7 +201,9 @@ int main(int argc, char *argv[]) COMPEL_SO_VERSION_SUBLEVEL); exit(0); break; - default: + default: // '?' + // error message already printed by getopt_long() + return usage(1); break; } }