diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-01-06 23:10:33 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-01-06 23:11:48 -0500 |
| commit | e2a60c9427bfaf63149b4692459e86749553f755 (patch) | |
| tree | 4210c4a029d37d71a74a412b5022fb875e346097 | |
| parent | 3674792e3fde1281f9719c114c9c3703742c6ce6 (diff) | |
Rename to match actual subcommand
| -rw-r--r-- | src/main.zig | 4 | ||||
| -rw-r--r-- | src/subcommand/serve.zig (renamed from src/subcommand/server.zig) | 0 |
2 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", .{}); diff --git a/src/subcommand/server.zig b/src/subcommand/serve.zig index 54258a9..54258a9 100644 --- a/src/subcommand/server.zig +++ b/src/subcommand/serve.zig |
