summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 084945f..38a955b 100644
--- a/main.go
+++ b/main.go
@@ -89,6 +89,7 @@ func mode[T any](list ModeMap[T], fire func(mode T) *spool.ExitCode) *spool.Exit
return fire(in)
})
if code != nil {
+ _, _ = spool.Warn("%v\n", code.Message)
code.Exit()
}
return nil