This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients Sworddragon, paul.j3
Date 2015-10-03.21:42:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443908569.23.0.61645388857.issue25307@psf.upfronthosting.co.za>
In-reply-to
Content
I don't recall other issues or discussions about lining up short and long option strings.

Producing a more compact invocation has raised in StackOverflow questions.  I don't recall if there has been bug/issue on the same.

If I recall correctly it isn't hard to identify and change the Formatter method that produces the action invocation.  So such a change could be implemented as a Formatter subclass.  A SO search should produce that.

You can also play with the metavar of an argument to produce a more command invocation.

The formatting of choices has been discussed in other bug/issues. 

The ultimate help formatting method is to SUPPRESS the argument help, and write your own in a (RAW) description.
History
Date User Action Args
2015-10-03 21:42:49paul.j3setrecipients: + paul.j3, Sworddragon
2015-10-03 21:42:49paul.j3setmessageid: <1443908569.23.0.61645388857.issue25307@psf.upfronthosting.co.za>
2015-10-03 21:42:49paul.j3linkissue25307 messages
2015-10-03 21:42:48paul.j3create