Don't show error trace when bar args
This commit is contained in:
parent
b19b1751b5
commit
683d71ff8b
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ fn parseArgs(allocator: mem.Allocator) !Config {
|
|||
var diag = clap.Diagnostic{};
|
||||
var args = clap.parse(clap.Help, ¶ms, .{ .diagnostic = &diag }) catch |err| {
|
||||
diag.report(io.getStdErr().writer(), err) catch {};
|
||||
return err;
|
||||
return error.EarlyExit;
|
||||
};
|
||||
defer args.deinit();
|
||||
|
||||
|
|
Loading…
Reference in a new issue