[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

Silvio Clecio report at bugs.python.org
Sat Nov 27 21:53:41 EST 2021


New submission from Silvio Clecio <silvioprog at gmail.com>:

Using a simple program as example, the argparse library prints the following text:

usage: app.py [-h]

options:
  -h, --help  show this help message and exit

However, for more formality, it would be nice to print something like this:

Usage: app.py [-h]

Options:
  -h, --help  Show this help message and exit.

Notice the sentences start as capital letters and the helper string finishes with dot.

----------
components: Parser
messages: 407183
nosy: lys.nikolaou, pablogsal, silvioprog
priority: normal
severity: normal
status: open
title: [argparse] Print texts starting with capital letters and finish with dot for more formality

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45912>
_______________________________________


More information about the Python-bugs-list mailing list