fixed snippet display, short_desc is a string, not a list

This commit is contained in:
Brian Coca 2015-11-05 14:31:54 -05:00
parent 95604573ee
commit 883f451158

View file

@ -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']))