1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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): def get_snippet_text(doc):
text = [] text = []
desc = CLI.tty_ify(" ".join(doc['short_description'])) desc = CLI.tty_ify(doc['short_description'])
text.append("- name: %s" % (desc)) text.append("- name: %s" % (desc))
text.append(" action: %s" % (doc['module'])) text.append(" action: %s" % (doc['module']))