commit: 3f50ff16084200b90dbd16eb471962c78d4d035e parent b4e0c68e57a2de335d3cf05af26bc9825457af11 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Mon, 16 Oct 2023 00:13:35 +0200 main: Add default case on getopt-switchDiffstat:
M | main.ha | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)diff --git a/main.ha b/main.ha
@@ -322,6 +322,8 @@ export fn main() void = { }; case 'n' => noop = true; + case => + fmt::fatalf("Unhandled option -{}", opt.0); }; };