diff options
Diffstat (limited to 'config.ha')
| -rw-r--r-- | config.ha | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5,6 +5,7 @@ use os; use fs; use strings; use io; +use fmt; type config = struct { tasksdir: str, @@ -59,3 +60,11 @@ fn strcerror(e: cerror) str = { abort(); }; }; + +fn printconfig(cfg: config) void = { + fmt::errorln(cfg.tasksdir)!; + fmt::errorln(cfg.context)!; + for (const tag .. cfg.tags) { + fmt::errorln(tag)!; + }; +}; |
