close a TODO
This commit is contained in:
parent
f5b50068b7
commit
82ab622c66
|
@ -39,11 +39,11 @@ const shells = &[_][]const u8{
|
|||
};
|
||||
|
||||
pub fn main() void {
|
||||
// This line is here because of https://github.com/ziglang/zig/issues/7807
|
||||
const stderr = io.getStdErr().writer();
|
||||
const stdout = io.getStdOut().writer();
|
||||
|
||||
execute(stdout, stderr, os.argv[1..]) catch |err| switch (err) {
|
||||
execute(
|
||||
io.getStdOut().writer(),
|
||||
io.getStdErr().writer(),
|
||||
os.argv[1..],
|
||||
) catch |err| switch (err) {
|
||||
error.User => os.exit(1),
|
||||
error.IO => os.exit(3),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue