I personally would try to organize the UI so that each -option either has >= 1 args or no args. But I'm happy that you have a solution that works for your case! Thanks for reporting back on what worked for you!
In reply to Re^3: GetOpt ignore required arguments
by Marshall
in thread GetOpt ignore required arguments
by stevensw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |