New submission from Will Noble <author@will.party>:

argparse allows GNU-style long options (with '=' in between the option and the 
value as opposed to a space): 
https://docs.python.org/3/library/argparse.html#option-value-syntax

Call it pickiness, but I'd like to be able to print the help message in that 
format. Looking at the code, a simple refactor would be much cleaner than 
implementing my own custom help formatter and having to copy-paste a bunch of 
implementation details that are potentially subject to change in future 
releases. I'll submit a patch shortly.

----------
components: Library (Lib)
messages: 385359
nosy: will
priority: normal
severity: normal
status: open
title: argparse: GNU-style help formatter
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to