Message315917
I'm using Python's `argparse` module to define optional arguments.
I'm calling the `argparse.add_argument` method to add both short and long arguments, but I notice that the generated help message lists some information twice. For example:
```
argparse.add_argument('-s', '--service',...)
```
will generate
```
-s SERVICE, --service SERVICE
```
and when I add a `choices` argument, even the choices list is repeated. I think it would be more useful to suppress the repetition to produce output such as
```
-s|--service SERVICE ...
```
instead with both the meta var as well as choices etc. printed only once. |
|
Date |
User |
Action |
Args |
2018-04-29 19:38:21 | stefan | set | recipients:
+ stefan |
2018-04-29 19:38:21 | stefan | set | messageid: <1525030701.58.0.682650639539.issue33389@psf.upfronthosting.co.za> |
2018-04-29 19:38:21 | stefan | link | issue33389 messages |
2018-04-29 19:38:21 | stefan | create | |
|