print description only if present
This commit is contained in:
parent
e039783e67
commit
f20d1cfc01
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@
|
||||||
|
|
||||||
(fn print-service [o]
|
(fn print-service [o]
|
||||||
(print (.. " * service ``" o.name "``"))
|
(print (.. " * service ``" o.name "``"))
|
||||||
(print (indent 4 (or (extract-text o.description) "(no description)")))
|
(match (extract-text o.description)
|
||||||
|
descr (print (indent 4 descr)))
|
||||||
(print)
|
(print)
|
||||||
(print (indent 4 "**Service parameters**\n"))
|
(print (indent 4 "**Service parameters**\n"))
|
||||||
(each [_ param (ipairs o.parameters)]
|
(each [_ param (ipairs o.parameters)]
|
||||||
|
|
Loading…
Reference in a new issue