diff --git a/src/cli/init_command.zig b/src/cli/init_command.zig index 5cbb0ad95c..a4676aa650 100644 --- a/src/cli/init_command.zig +++ b/src/cli/init_command.zig @@ -149,7 +149,7 @@ pub const InitCommand = struct { pub fn exec(alloc: std.mem.Allocator, argv: [][:0]const u8) !void { const print_help = brk: { for (argv) |arg| { - if (strings.eqlComptime(arg, "--help")) { + if (strings.eqlComptime(arg, "--help") or strings.eqlComptime(arg, "-h")) { break :brk true; } }