summaryrefslogtreecommitdiffstats
path: root/bin/ansible-doc
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2014-10-30 18:40:34 +0100
committerBrian Coca <brian.coca+git@gmail.com>2014-10-30 18:40:34 +0100
commit0fb0548d0b04cf2a1d9b6755697b7dca45d2dbf8 (patch)
treee302aa37b96135783a8f79a11bdc1c0c085c9fd7 /bin/ansible-doc
parentnow docs handle deprecated modules but still ignore aliases (diff)
downloadansible-0fb0548d0b04cf2a1d9b6755697b7dca45d2dbf8.tar.xz
ansible-0fb0548d0b04cf2a1d9b6755697b7dca45d2dbf8.zip
removed no unused var that was not cleaned up properlly
Diffstat (limited to 'bin/ansible-doc')
-rwxr-xr-xbin/ansible-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ansible-doc b/bin/ansible-doc
index d399e4668e..e4c7d19522 100755
--- a/bin/ansible-doc
+++ b/bin/ansible-doc
@@ -234,7 +234,7 @@ def main():
for i in options.module_path.split(os.pathsep):
utils.plugins.module_finder.add_directory(i)
- if options.list_dir or options.list_deprecated:
+ if options.list_dir:
# list modules
paths = utils.plugins.module_finder._get_paths()
module_list = []