liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit be044cb59e0bd44d778fae999e4d3a3244081f7c
parent 5cff862ae95cbc81ebb0496150461de98e0d9c48
Author: Daniel Barlow <dan@telent.net>
Date:   Mon,  7 Aug 2023 23:08:41 +0100

doc: print headline for modules with no preamble

Diffstat:
Mdoc/parse-options.fnl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/parse-options.fnl b/doc/parse-options.fnl @@ -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")