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:
parent
95604573ee
commit
883f451158
1 changed files with 1 additions and 1 deletions
|
@ -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']))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue