diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-05 18:00:14 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-05 18:00:14 +0200 |
commit | 1154cc47acb4fbc76bdf3956ff9d022cbe90ac47 (patch) | |
tree | ceb341c42b0ee27c055d842b7d2af461c455487e | |
parent | 71d7a828b72d3a1fceb8a526eb0cd2f5918511c3 (diff) |
Return failure after displaying usage on insufficient arguments etc.
-rw-r--r-- | src/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index 224af59..2779189 100644 --- a/src/options.c +++ b/src/options.c @@ -810,7 +810,7 @@ void show_mini_usage(void) { fprintf(stdout, PACKAGE " - No loadable images specified.\n" "Use " PACKAGE " --help for detailed usage information\n"); - exit(0); + exit(1); } void show_usage(void) |