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):
|
||||
|
||||
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']))
|
||||
|
||||
|
|
Loading…
Reference in a new issue