How to ignore parameters or options not part of the options list

Sep 7, 2016 at 8:19 PM
Is there a way options can be ignored if they are not part of options ? Currently if I have support for option -c, -d and if user specifies -e along with -c and -d it fails.