in reply to Re: test for unknown option in getopts
in thread test for unknown option in getopts

The OP should note that that will result in an error line printed to stderr with text of the form: "Unknown option: b".


DWIM is Perl's answer to Gödel
  • Comment on Re^2: test for unknown option in getopts