1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2527 from mavimo/patch-1

Docs generator: fixed option (type) validation error
This commit is contained in:
Michael DeHaan 2013-03-29 18:36:15 -07:00
commit d994c9fd90

View file

@ -164,7 +164,7 @@ def main():
p.add_option("-t", "--type", p.add_option("-t", "--type",
action='store', action='store',
dest='type', dest='type',
choices=['html', 'latex', 'man', 'rst', 'json', 'markdown'], choices=['html', 'latex', 'man', 'rst', 'json', 'markdown', 'js'],
default='latex', default='latex',
help="Output type") help="Output type")
p.add_option("-m", "--module", p.add_option("-m", "--module",