forked from dan/liminix
1
0
Fork 0

doc: print headline for modules with no preamble

main
Daniel Barlow 2023-08-07 23:08:41 +01:00
parent 5cff862ae9
commit be044cb59e
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
(table.insert e option)
(tset modules path e))))
(each [name module (pairs modules)]
(print (read-preamble name))
(print (or (read-preamble name) (headline name)))
(let [options (sort-options module)]
(each [_ o (ipairs options)]
(if (= o.type "parametrisable s6-rc service definition")