diff --git a/lib/ansible/cli/doc.py b/lib/ansible/cli/doc.py index 05f26abae5..b9470ee122 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']))