Message354402
This program:
import argparse
ap = argparse.ArgumentParser()
ap.add_argument("arg", nargs="*")
ap.parse_args()
Gives usage message:
usage: help_complexity.py [-h] [arg [arg ...]]
It's correct, but unnecessarily complex and challenging to the user.
If I were manually writing the usage, arg... would do, or maybe [arg ...] to be consistent with other messages?? |
|
Date |
User |
Action |
Args |
2019-10-10 20:24:39 | bobjalex | set | recipients:
+ bobjalex |
2019-10-10 20:24:39 | bobjalex | set | messageid: <1570739079.02.0.395133592841.issue38438@roundup.psfhosted.org> |
2019-10-10 20:24:38 | bobjalex | link | issue38438 messages |
2019-10-10 20:24:38 | bobjalex | create | |
|