mirror of
https://github.com/ziglang/zig.git
synced 2026-01-11 18:05:11 +00:00
commit
21a77f7ac3
@ -2075,7 +2075,7 @@ pub fn cmdInit(
|
||||
while (i < args.len) : (i += 1) {
|
||||
const arg = args[i];
|
||||
if (mem.startsWith(u8, arg, "-")) {
|
||||
if (mem.eql(u8, arg, "--help")) {
|
||||
if (mem.eql(u8, arg, "-h") or mem.eql(u8, arg, "--help")) {
|
||||
try io.getStdOut().writeAll(usage_init);
|
||||
return cleanExit();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user