argparse: showing full help for subparsers
Chris Withers
chris at simplistix.co.uk
Wed Aug 31 07:57:04 EDT 2011
Hi All,
If I have subparsers set up and do:
myscript.py --help
I get the summary for each of the top-level commands, but to get the
help for each sub-command I have to do:
myscript.py subcommand --help
Is there any way I can get "myscript.py --help" to show the help
hierarchically, including all options for all subcommands?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Python-list
mailing list