The OP should note that that will result in an error line printed to stderr with text of the form: "Unknown option: b".
In reply to Re^2: test for unknown option in getopts
by GrandFather
in thread test for unknown option in getopts
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |