This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bobjalex
Recipients bobjalex
Date 2019-10-10.20:24:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570739079.02.0.395133592841.issue38438@roundup.psfhosted.org>
In-reply-to
Content
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??
History
Date User Action Args
2019-10-10 20:24:39bobjalexsetrecipients: + bobjalex
2019-10-10 20:24:39bobjalexsetmessageid: <1570739079.02.0.395133592841.issue38438@roundup.psfhosted.org>
2019-10-10 20:24:38bobjalexlinkissue38438 messages
2019-10-10 20:24:38bobjalexcreate