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 pablogsal
Recipients Aaron.Meurer, Daniel.Walsh, Ingo.Fischer, Oz.Tiram, Pavel Raiskup, acucci, adregner, andialbrecht, bethard, bignose, bochecha, dmalcolm, eric.araujo, josh.r, jwilk, louielu, matthewjohn, pablogsal, paul.j3, rhettinger, serhiy.storchaka, sigi, tshepang, zbysz
Date 2018-06-14.16:24:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528993484.79.0.947875510639.issue14102@psf.upfronthosting.co.za>
In-reply-to
Content
I think this should be something that is not included in argparse itself. I can imagine a scenario in which the manpage is accessible through `./python foo.py --manpage` but the manpage is not installed systemwide. This will be very confusing for users. Also, as Serhiy comments, argparse provides functionality that at this point is relevant for the enduser of the application. Generating a man page in a build script sounds like something that should be on its own or as a help function of the build system. The only thing argparse could do (maybe) is trying to read an already installed manpage and use that, but I still think that is not a good idea because it can generate conflicts and similar if multiple versions are installed or if the help of the package deviates from the manpage.
History
Date User Action Args
2018-06-14 16:24:45pablogsalsetrecipients: + pablogsal, rhettinger, bethard, jwilk, eric.araujo, zbysz, dmalcolm, Aaron.Meurer, bignose, andialbrecht, bochecha, tshepang, paul.j3, sigi, Daniel.Walsh, serhiy.storchaka, Ingo.Fischer, adregner, josh.r, Oz.Tiram, acucci, matthewjohn, louielu, Pavel Raiskup
2018-06-14 16:24:44pablogsalsetmessageid: <1528993484.79.0.947875510639.issue14102@psf.upfronthosting.co.za>
2018-06-14 16:24:44pablogsallinkissue14102 messages
2018-06-14 16:24:44pablogsalcreate