diff options
-rw-r--r-- | src/main.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index f074fde..cfdc4e7 100644 --- a/src/main.zig +++ b/src/main.zig @@ -259,6 +259,8 @@ fn runServer(server: *std.http.Server) !void { } } +/// printInfo() prints the copyright legal information. Theoretically it +/// shouldn't fail, but if it does stderr.print() will throw a WriteError. pub fn printInfo(stderr: std.fs.File.Writer) !void { try stderr.print("zhttpd version 0.1.0, Copyright (C) 2024 ZachIR\n", .{}); try stderr.print("zhttpd comes with ABSOLUTELY NO WARRANTY. This is ", .{}); |