summaryrefslogtreecommitdiffstats
path: root/hacking
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-05-05 23:05:46 +0200
committerBrian Coca <brian.coca+git@gmail.com>2016-05-05 23:05:46 +0200
commit478674cc57788e6b8a47de3560abf3f54e5113d1 (patch)
tree1128b6ee69ede0f922726971cd0b97bd44f9bc60 /hacking
parentmade ansible-doc complain on missing 'requried' (diff)
downloadansible-478674cc57788e6b8a47de3560abf3f54e5113d1.tar.xz
ansible-478674cc57788e6b8a47de3560abf3f54e5113d1.zip
typo fix
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/module_formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py
index 7afba19da9..72245e533e 100755
--- a/hacking/module_formatter.py
+++ b/hacking/module_formatter.py
@@ -289,7 +289,7 @@ def process_module(module, options, env, template, outputname, module_map, alias
del doc['options'][k]['version_added']
if not 'description' in doc['options'][k]:
raise AnsibleError("Missing required description for option %s in %s " % (k, module))
- if not 'requried' in doc['options'][k]:
+ if not 'required' in doc['options'][k]:
raise AnsibleError("Missing required 'required' for option %s in %s " % (k, module))
if not isinstance(doc['options'][k]['description'],list):
doc['options'][k]['description'] = [doc['options'][k]['description']]