[New-bugs-announce] [issue29626] Issue with spacing in argparse module while using help

Falguniben Jhaveri report at bugs.python.org
Wed Feb 22 18:00:55 EST 2017


New submission from Falguniben Jhaveri:

When I use argparse the optional arguments with character "-p" and "-s" has improper spacing while using help/usage command.

Sample out put from argparse module:

usage: cli node list [-h] [-p] [-o]

Lists nodes in your current project.

optional arguments:
  -h, --help         show this help message and exit
  // extra space after p
  -p , --projectid  
  -o, --org         (For administrators only) Lists all the nodes in

----------
components: Library (Lib)
messages: 288389
nosy: falu2010
priority: normal
severity: normal
status: open
title: Issue with spacing in argparse module while using help
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29626>
_______________________________________


More information about the New-bugs-announce mailing list