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 <>
Python-bugs-list mailing list

Reply via email to