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 ygingras
Recipients ygingras
Date 2020-10-09.12:34:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602246859.95.0.133972345732.issue41980@roundup.psfhosted.org>
In-reply-to
Content
In argparse.rst, while documenting ArgumentParser.add_subparsers, ``prog`` is described on line 1630 as:
  usage information that will be displayed with sub-command help,
  by default the name of the program and any positional arguments 
  before the subparser argument

This is confusing since ``prog`` is actually a very small prefix of the usage message.  Describing this parameter as "name of the program" or event "name of the program with sub-commands" would be more clear.
History
Date User Action Args
2020-10-09 12:34:19ygingrassetrecipients: + ygingras
2020-10-09 12:34:19ygingrassetmessageid: <1602246859.95.0.133972345732.issue41980@roundup.psfhosted.org>
2020-10-09 12:34:19ygingraslinkissue41980 messages
2020-10-09 12:34:19ygingrascreate