argparse-f icon indicating copy to clipboard operation
argparse-f copied to clipboard

[feature request]Reactions to undefined args

Open LaplaceSoda opened this issue 9 months ago • 10 comments

When using an undefined argument (e.g. using -? after -h is defined to display help message), the program will directly report an error and exit. I wonder if it is possible to show the correct usage and help of the args before the program exits in that case.

LaplaceSoda avatar May 02 '24 15:05 LaplaceSoda