summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/date/fmt.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/date/fmt.myr b/lib/date/fmt.myr
index 34bdaa4..064ff60 100644
--- a/lib/date/fmt.myr
+++ b/lib/date/fmt.myr
@@ -26,7 +26,7 @@ const sbfmt = {sb, ap, opts
| ("t", ""): fmt = Timefmt
| ("D", ""): fmt = Datetimefmt
| ("f", opt): fmt = opt
- | _: std.fatal("unknown option")
+ | _: std.die("unknown option\n")
;;
;;
datefmt(sb, fmt, d)