tools/env: fail on invalid options

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
master
Daniel Hobi 14 years ago committed by Wolfgang Denk
parent 122bc08845
commit 29ccd7c312
  1. 4
      tools/env/fw_env_main.c

@ -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;
}
}

Loading…
Cancel
Save