Falguniben Jhaveri added the comment:
There is an extra spacing here if you look carefully. I have commented
above the code. Similarly it happens for "-o" too but not for other
alphabets.
1427:~/mypy/argdev$ python3 issue29626.py delete -h
usage: cli delete [-h] [-p] userid
Deletes
Falguniben Jhaveri added the comment:
Sample code to repro this:
import argparse
parser = argparse.ArgumentParser(prog='cli')
subparsers = parser.add_subparsers(dest="command")
subparsers_user_delete = subparsers.add_parser("delete", help="D
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 curren