Open
Description
Let's say I need one option -p
as a valid option for my program. Everything else is invalid. I need to capture those invalid ones and, let's say, show them to the user. How am I about to do that?
E.g. for program.exe -g -f file
I need to get something like {'g'=> null, 'f'=>"file"}
in any form available. I couldn't find out how to do that.
Is it possible? If yes, how to achieve it? Thank you in advance.