diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-03-26 06:06:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 06:06:18 +0200 |
commit | 33362b88c3ef14c1ed36994f8740cb6e05c6e2fe (patch) | |
tree | b60e11febd57047606c16a5b52bd26d7dc4ef06b /cli/main.rs | |
parent | 8a4865c3790a6eb93d95189e129b3ee98f349b45 (diff) |
chore: upgrade clap to v4 (#17333)
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); |