summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2026-01-06 23:10:33 -0500
committerRobby Zambito <contact@robbyzambito.me>2026-01-06 23:11:48 -0500
commite2a60c9427bfaf63149b4692459e86749553f755 (patch)
tree4210c4a029d37d71a74a412b5022fb875e346097 /src/main.zig
parent3674792e3fde1281f9719c114c9c3703742c6ce6 (diff)
Rename to match actual subcommand
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index 7784df8..79de5e7 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -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", .{});