[issue14102] argparse: add ability to create a man page
Oz Tiram
report at bugs.python.org
Fri Jun 15 06:07:58 EDT 2018
Oz Tiram <nahumoz at gmail.com> added the comment:
As already pointed out, it can get the parser somehow, you don't need an explicit extra option --man. That's the approach suggesed in:
man-argparse and build_manpage.py attached here
You can use it a make file like this:
install:
./setup.py build_manpage
./setup.py install
install -D -m 644 foo.1 ${DESTDIR}/usr/share/man/man1
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue14102>
_______________________________________
More information about the Python-bugs-list
mailing list