mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 11:44:48 +00:00
Rename to match actual subcommand
This commit is contained in:
@@ -6,7 +6,7 @@ const yazap = @import("yazap");
|
||||
const Message = zits.MessageParser.Message;
|
||||
const Server = zits.Server;
|
||||
|
||||
const serverSubcommand = @import("./subcommand/server.zig").main;
|
||||
const serve = @import("./subcommand/serve.zig").main;
|
||||
|
||||
pub fn main() !void {
|
||||
var dba: std.heap.DebugAllocator(.{}) = .init;
|
||||
@@ -69,7 +69,7 @@ pub fn main() !void {
|
||||
info.server_name = name;
|
||||
}
|
||||
|
||||
try serverSubcommand(gpa, info);
|
||||
try serve(gpa, info);
|
||||
return;
|
||||
} else if (matches.subcommandMatches("pub")) |_| {
|
||||
std.debug.print("Unimplemented\n", .{});
|
||||
|
||||
Reference in New Issue
Block a user