[issue14102] argparse: add ability to create a man page

Serhiy Storchaka report at bugs.python.org
Wed Apr 19 04:02:19 EDT 2017


Serhiy Storchaka added the comment:

How to use this feature? argparse is executed every time when the end user runs the program. But generating a man page is the action that should be executed at develop or build stage. The end user gets a generated man page, he doesn't need the option to generate a man page on a fly. The developer needs the ability to generate a man page rather than running the program for its main purpose. What should be the structure of the program that uses argparse for parsing arguments and for generating a man page? How generating a man page should be invoked?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14102>
_______________________________________


More information about the Python-bugs-list mailing list