Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12466
| Date | 2011-08-31 12:57 +0100 |
|---|---|
| From | Chris Withers <chris@simplistix.co.uk> |
| Subject | argparse: showing full help for subparsers |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.598.1314791833.27778.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
argparse: showing full help for subparsers Chris Withers <chris@simplistix.co.uk> - 2011-08-31 12:57 +0100
csiph-web