Message179766
Argparse
15.4.5.1. Sub-commands
In the example:
>>> parser.parse_args(['--help'])
usage: PROG [-h] [--foo] {a,b} ...
positional arguments:
{a,b} sub-command help
a a help
b b help
optional arguments:
-h, --help show this help message and exit
--foo foo help
The 'a help', 'b help' lines should be indented |
|
Date |
User |
Action |
Args |
2013-01-12 04:00:57 | paul.j3 | set | recipients:
+ paul.j3, docs@python |
2013-01-12 04:00:57 | paul.j3 | set | messageid: <1357963257.08.0.262737985676.issue16940@psf.upfronthosting.co.za> |
2013-01-12 04:00:56 | paul.j3 | link | issue16940 messages |
2013-01-12 04:00:55 | paul.j3 | create | |
|