praiskup / argparse-manpage

Automatically build man-pages for your Python project
Apache License 2.0
40 stars 21 forks source link

--help is not included in the generated output #112

Open keszybz opened 3 months ago

keszybz commented 3 months ago

ArgumentParser adds --help unless add_help=False is specified, and I think this should be part of the options listed.

praiskup commented 3 months ago

Thank you for the report, agreed, help is welcome -> the corresponding code: https://github.com/praiskup/argparse-manpage/blob/42943e6ac7f311f8ab56268536880d11ee344512/argparse_manpage/manpage.py#L567-L569