diff options
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs index 9b141c536..aafa7f009 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -402,8 +402,7 @@ fn resolve_flags_and_init( let flags = match flags_from_vec(args) { Ok(flags) => flags, Err(err @ clap::Error { .. }) - if err.kind() == clap::error::ErrorKind::DisplayHelp - || err.kind() == clap::error::ErrorKind::DisplayVersion => + if err.kind() == clap::error::ErrorKind::DisplayVersion => { // Ignore results to avoid BrokenPipe errors. let _ = err.print(); |