diff --git a/src/sneaky.zig b/src/sneaky.zig index abb006d..2a76ead 100644 --- a/src/sneaky.zig +++ b/src/sneaky.zig @@ -112,12 +112,12 @@ pub fn Snek(comptime CliInterface: type) type { CliError.HelpCommand => { try self.help(); - return e; + std.process.exit(0); }, CliError.InvalidCommand => { std.debug.print("Invalid cli command was passed. Please use -help or -h to check help menu for available commands", .{}); - return e; + std.process.exit(0); }, else => { return e;