mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
Exclude internal options from man pages and docs (#192)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user