I am using the App::Options library for processing config files and command line options. I have two parameters, of which one of the two must be specified. Since I do not see any way to specify this via the interface, I am adding a conditional call to check that at least one of the options has a value.
What would be nice, is to output the -help information when an error is encountered, just as if the user had omitted a required parameter. Does anyone know how this can be done?
In reply to Forcing -help output with App::Options library by ss2art
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |