Hi and thank you for providing this very useful library.
I'm wondering if and how it is possible to print the usage message after catching an exception. Ideally I want to be able to print the short usage message after catching a ArgException so the user doesn't only know where something went wrong, but also how to do it right. Currently, when I call cmd.getOutput()->usage(cmd) in a catch block, a segmentation fault is the result. Probably because the CmdLine object "cmd" is no longer valid.
Log in to post a comment.