diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-04-11 16:59:50 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-04-11 17:02:18 +0900 |
| commit | 39f7906b5774243e6fe9fb622dcec37d0cef3ca0 (patch) | |
| tree | fa90e56178a3cd899a1470144a646b2bc7e6b0a8 /.gitignore | |
| parent | a76db4cfc83d4cf7a52d045e4df82ec8b1e3f562 (diff) | |
| download | pygerrit-39f7906b5774243e6fe9fb622dcec37d0cef3ca0.tar.gz | |
Fix up usage of argparse in examples
Since a76db4cfc83d4cf7a52d045e4df82ec8b1e3f562 it is broken.
- Use ArgumentDefaultsHelpFormatter to automatically show default
values for the options.
- Remove hard-coded 'default' information from help texts.
- Add a metavar for the ssh event timeout option.
- Integer arguments must now be specified as `int` rather than
`'int'` with quotation marks.
- Fix calls to `parser.parse_args`, which now returns a single
value rather than a tuple.
Change-Id: If5cf4e2d1f4014a60f7a7634d43df12b788bc7b4
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
