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 bignose
Recipients Aaron.Meurer, Daniel.Walsh, Ingo.Fischer, Oz.Tiram, Pavel Raiskup, acucci, adregner, andialbrecht, asmeurer, bethard, bignose, bochecha, dmalcolm, eric.araujo, josh.r, jwilk, louielu, matthewjohn, pablogsal, paul.j3, rhettinger, serhiy.storchaka, sigi, tshepang, zbysz
Date 2018-06-14.23:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529020359.2261968.1408606208.0227851F@webmail.messagingengine.com>
In-reply-to <1529019969.28.0.947875510639.issue14102@psf.upfronthosting.co.za>
Content
On Thu, 2018-06-14 23:46 +0000, Aaron Meurer <report@bugs.python.org> wrote:

> Couldn't such a tool exist outside the standard library.

I've tried writing such a tool. It would ideally re-use as much as feasible of the functionality that assembles the usage message. But that is hampered by the fact the usage message generation is not easily accessible from outside.

I am hoping that, in order to re-use that functionality, a common set of “take the argument collection as input, generate a document structure” functionality can be factored out for other use — initially, for generating a manual page.

So this bug report asks for that work to be done in the ‘argparse’ library.

> Installing the manpage is a separate concern.

Yes, I agree. That is not part of this bug report.
History
Date User Action Args
2018-06-14 23:52:41bignosesetrecipients: + bignose, rhettinger, bethard, jwilk, eric.araujo, zbysz, dmalcolm, Aaron.Meurer, andialbrecht, bochecha, tshepang, paul.j3, sigi, Daniel.Walsh, serhiy.storchaka, Ingo.Fischer, adregner, josh.r, Oz.Tiram, acucci, matthewjohn, louielu, pablogsal, asmeurer, Pavel Raiskup
2018-06-14 23:52:41bignoselinkissue14102 messages
2018-06-14 23:52:41bignosecreate