Skip to content
Snippets Groups Projects
Commit 29ccd7c3 authored by Daniel Hobi's avatar Daniel Hobi Committed by Wolfgang Denk
Browse files

tools/env: fail on invalid options


Signed-off-by: default avatarDaniel Hobi <daniel.hobi@schmid-telecom.ch>
parent 122bc088
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,10 @@ main(int argc, char *argv[])
case 'h':
usage();
return EXIT_SUCCESS;
default: /* '?' */
fprintf(stderr, "Try `%s --help' for more information."
"\n", cmdname);
return EXIT_FAILURE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment