April 1, 2019
9:27 a.m.
Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment: Thanks for the report. To be little more clear it returns the "basename of sys.argv[0]" at [0] than the attached patch that says "uses part of ``sys.argv[0]``" . [0] https://github.com/python/cpython/blob/62f9588663ebfea1735e9d142ef527395a6c2... ---------- nosy: +paul.j3, xtreak title: In the argparse there is a misleading words about %(prog)s value -> Clarify %(prog)s in argparse help formatter returns basename of sys.argv[0] by default versions: +Python 3.7, Python 3.8 -Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue27992> _______________________________________