|Problems? Is your data what you think it is?|
Showing global options while using App::Cmdby McA (Priest)
|on Sep 25, 2012 at 08:19 UTC||Need Help??|
McA has asked for the
wisdom of the Perl Monks concerning the following question:
just started to dig into App::Cmd and can't find the answer to the follworing question:
When I have defined global options with global_opt_spec how can I achieve that the usage of these options is printed when I call script help or script alone.
The command specific options are printed when you call script help command.
At the moment it seems to me that the only way is to call script --rubbish while --rubbish is an unknown option.