homepage

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 eric.araujo
Recipients Daniel.Walsh, bethard, dmalcolm, eric.araujo
Date 2012年02月24日.04:50:58
SpamBayes Score 2.7686872e-05
Marked as misclassified No
Message-id <1330059059.85.0.142135036391.issue14102@psf.upfronthosting.co.za>
In-reply-to
Content
Are you aware of help2man? It can transmogrify the output of "your-program-that-uses-argparse --help" to a man page. Another solution is to use docutils’ rst2man to convert some documentation file to the man format.
On the other hand, this blog post contains code implementing a custom optparse formatter for man pages, which could probably be adapted for argparse easily, so it does not look hard to implement. (Note that the code has no licensing information.)
Steven, what do you think? Too specialized for the stdlib or small, useful new feature?
History
Date User Action Args
2012年02月24日 04:51:00eric.araujosetrecipients: + eric.araujo, bethard, dmalcolm, Daniel.Walsh
2012年02月24日 04:50:59eric.araujosetmessageid: <1330059059.85.0.142135036391.issue14102@psf.upfronthosting.co.za>
2012年02月24日 04:50:59eric.araujolinkissue14102 messages
2012年02月24日 04:50:58eric.araujocreate

AltStyle によって変換されたページ (->オリジナル) /