Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12466 > unrolled thread
| Started by | Chris Withers <chris@simplistix.co.uk> |
|---|---|
| First post | 2011-08-31 12:57 +0100 |
| Last post | 2011-08-31 12:57 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
argparse: showing full help for subparsers Chris Withers <chris@simplistix.co.uk> - 2011-08-31 12:57 +0100
| From | Chris Withers <chris@simplistix.co.uk> |
|---|---|
| Date | 2011-08-31 12:57 +0100 |
| Subject | argparse: showing full help for subparsers |
| Message-ID | <mailman.598.1314791833.27778.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web