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

pull/81365/head
Matt Clay 10 months ago committed by GitHub
parent 6db006a5fa
commit fead654671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- Exclude internal options from man pages and docs.

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

Loading…
Cancel
Save