fix: Write to stdout instead of stderr
This commit is contained in:
parent
5086633e7e
commit
ac3ffb9e58
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -96,7 +96,7 @@ pub fn main() !void {
|
|||
|
||||
defer allocator.free(decodedString);
|
||||
|
||||
std.debug.print("{s}", .{decodedString});
|
||||
try stdout.writer().print("{s}", .{decodedString});
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue