Rename to match actual subcommand

This commit is contained in:
2026-01-06 23:10:33 -05:00
parent 3674792e3f
commit e2a60c9427
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ const yazap = @import("yazap");
const Message = zits.MessageParser.Message; const Message = zits.MessageParser.Message;
const Server = zits.Server; const Server = zits.Server;
const serverSubcommand = @import("./subcommand/server.zig").main; const serve = @import("./subcommand/serve.zig").main;
pub fn main() !void { pub fn main() !void {
var dba: std.heap.DebugAllocator(.{}) = .init; var dba: std.heap.DebugAllocator(.{}) = .init;
@@ -69,7 +69,7 @@ pub fn main() !void {
info.server_name = name; info.server_name = name;
} }
try serverSubcommand(gpa, info); try serve(gpa, info);
return; return;
} else if (matches.subcommandMatches("pub")) |_| { } else if (matches.subcommandMatches("pub")) |_| {
std.debug.print("Unimplemented\n", .{}); std.debug.print("Unimplemented\n", .{});