[go: up one dir, main page]

Error when bad ARGS are used

If an unexpected argument is passed on the command line, the program should error (even if valid arguments are also present). Or, should it show the help page? Or should it do both, i.e., show help, and then error? What do other tools do?

e.g.,

mapper --foo

# display the help page?
# error?
Edited by Travis Dillon