mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 03:34:48 +00:00
Display help when there is no subcommand
This commit is contained in:
@@ -69,5 +69,10 @@ pub fn main() !void {
|
|||||||
|
|
||||||
try @import("./server/main.zig").main(gpa, info);
|
try @import("./server/main.zig").main(gpa, info);
|
||||||
return;
|
return;
|
||||||
|
} else if (matches.subcommandMatches("pub")) |_| {
|
||||||
|
std.debug.print("Unimplemented\n", .{});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try app.displayHelp(io);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user