Message220288
| Author |
Oz.Tiram |
| Recipients |
Daniel.Walsh, Ingo.Fischer, Oz.Tiram, adregner, andialbrecht, bethard, dmalcolm, eric.araujo, guettli, jwilk, sigi, tshepang |
| Date |
2014年06月11日.17:13:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1402506806.18.0.29808750127.issue14102@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi,
I have been wanting this feature for quite a long time. IMHO, binaries and scripts should always include a man page. The Debian developers require that. However, man pages have a 'bizarre' format.
Long talk, short time. I did implement something. I tested it on Python 2.7 since my project currently only supports Python 2.7.
I think it should not be complicated to port to Python 3.X.
I doubt if the correct place for formatting a man page should be in argparse.py itself. My solution is an extension of Andial's brecht solution that uses ofcourse argparse.
You can see it in action in https://github.com/pwman3/pwman3
I am also attaching the code here.
I hope you will find this file useful. I would appreciate your comments too.
Regards,
Oz |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年06月11日 17:13:26 | Oz.Tiram | set | recipients:
+ Oz.Tiram, guettli, bethard, jwilk, eric.araujo, dmalcolm, andialbrecht, tshepang, sigi, Daniel.Walsh, Ingo.Fischer, adregner |
| 2014年06月11日 17:13:26 | Oz.Tiram | set | messageid: <1402506806.18.0.29808750127.issue14102@psf.upfronthosting.co.za> |
| 2014年06月11日 17:13:26 | Oz.Tiram | link | issue14102 messages |
| 2014年06月11日 17:13:25 | Oz.Tiram | create |
|