Exclude internal options from man pages and docs (#192)

This commit is contained in:
Matt Clay
2023-07-28 23:19:17 -07:00
committed by GitHub
parent eb4dc6c59e
commit efe9afccc4

View File

@@ -56,6 +56,8 @@ def get_options(optlist):
opts = []
for opt in optlist:
if opt.help == argparse.SUPPRESS:
continue
res = {
'desc': opt.help,
'options': opt.option_strings