From 883f4511580761c01d3b39b20b6fb4739c94a7fa Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 5 Nov 2015 14:31:54 -0500 Subject: [PATCH] fixed snippet display, short_desc is a string, not a list --- lib/ansible/cli/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/doc.py b/lib/ansible/cli/doc.py index 05f26abae5b..b9470ee122a 100644 --- a/lib/ansible/cli/doc.py +++ b/lib/ansible/cli/doc.py @@ -212,7 +212,7 @@ class DocCLI(CLI): def get_snippet_text(doc): text = [] - desc = CLI.tty_ify(" ".join(doc['short_description'])) + desc = CLI.tty_ify(doc['short_description']) text.append("- name: %s" % (desc)) text.append(" action: %s" % (doc['module']))