Turned out I cannot even use these classes. As I discovered (3 days too late. Clearly spelled out in the documentation, though):
What a strange design...Hopefully this thread will be a warning to others who want to try using these two classes for something other then parsing command-line arguments.when an error happens (for instance an unknown option was passed), the current process will then stop, using the exit() function.
Bookmarks