diff --git a/build.zig b/build.zig index 4e620df..05084f0 100644 --- a/build.zig +++ b/build.zig @@ -19,7 +19,7 @@ pub fn build(b: *std.Build) void { const clap = clap_dep.module("clap"); var opt = b.addOptions(); - opt.addOption([]const u8, "version", "0.0.1"); + opt.addOption([]const u8, "version", "0.0.2"); const exe = b.addExecutable(.{ .name = "b64", // In this case the main source file is merely a path, however, in more diff --git a/build.zig.zon b/build.zig.zon index d2ffede..9464f9e 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = "b64", - .version = "0.0.1", + .version = "0.0.2", .dependencies = .{ .clap = .{ .url = "https://github.com/Hejsil/zig-clap/archive/refs/tags/0.7.0.tar.gz", diff --git a/src/main.zig b/src/main.zig index b41cb52..937d8c9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -96,7 +96,7 @@ pub fn main() !void { defer allocator.free(decodedString); - std.debug.print("{s}", .{decodedString}); + try stdout.writer().print("{s}", .{decodedString}); return; }