diff options
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs index af373fac2..6d6199bda 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -253,8 +253,8 @@ pub fn main() { let flags = match flags_from_vec(args) { Ok(flags) => flags, Err(err @ clap::Error { .. }) - if err.kind() == clap::ErrorKind::DisplayHelp - || err.kind() == clap::ErrorKind::DisplayVersion => + if err.kind() == clap::error::ErrorKind::DisplayHelp + || err.kind() == clap::error::ErrorKind::DisplayVersion => { err.print().unwrap(); std::process::exit(0); |