forked from DGNum/liminix
doc: print headline for modules with no preamble
This commit is contained in:
parent
5cff862ae9
commit
be044cb59e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
||||||
(table.insert e option)
|
(table.insert e option)
|
||||||
(tset modules path e))))
|
(tset modules path e))))
|
||||||
(each [name module (pairs modules)]
|
(each [name module (pairs modules)]
|
||||||
(print (read-preamble name))
|
(print (or (read-preamble name) (headline name)))
|
||||||
(let [options (sort-options module)]
|
(let [options (sort-options module)]
|
||||||
(each [_ o (ipairs options)]
|
(each [_ o (ipairs options)]
|
||||||
(if (= o.type "parametrisable s6-rc service definition")
|
(if (= o.type "parametrisable s6-rc service definition")
|
||||||
|
|
Loading…
Reference in a new issue