subcommand icon indicating copy to clipboard operation
subcommand copied to clipboard

Any way to display subcommand help?

Open philwhln opened this issue 12 years ago • 0 comments

Hi,

Love the subcommand module!

I'm trying to display the help specific to a given subcommand, but after the fact.

After option parser / subcommand has done it's thing, I get is the command_name and my remaining ARGV. If ARGV is not what I'm expecting then I want to display the same help output as would be seen by

command --help

Not sure how to call this from outside the "command" block.

Any help appreciated.

Cheers, Phil

philwhln avatar Jun 07 '12 00:06 philwhln