diff options
Diffstat (limited to 'wpa-psk-cli')
-rw-r--r-- | wpa-psk-cli/Cargo.toml | 2 | ||||
-rw-r--r-- | wpa-psk-cli/src/bin/wpa-psk.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wpa-psk-cli/Cargo.toml b/wpa-psk-cli/Cargo.toml index 7d2cd0b..e4b2679 100644 --- a/wpa-psk-cli/Cargo.toml +++ b/wpa-psk-cli/Cargo.toml @@ -12,7 +12,7 @@ categories = ["command-line-utilities"] publish = true [dependencies] -clap = { version = "3.1.18", features = ["derive"] } +clap = { version = "4.0.8", features = ["derive", "wrap_help"] } wpa-psk = { path = "../wpa-psk", version = "0.2.0" } [dev-dependencies] diff --git a/wpa-psk-cli/src/bin/wpa-psk.rs b/wpa-psk-cli/src/bin/wpa-psk.rs index baa0337..b9e0e38 100644 --- a/wpa-psk-cli/src/bin/wpa-psk.rs +++ b/wpa-psk-cli/src/bin/wpa-psk.rs @@ -45,6 +45,6 @@ fn run() -> Result<(), Box<dyn std::error::Error>> { #[test] fn verify_clap_app() { - use clap::IntoApp; + use clap::CommandFactory; Args::command().debug_assert() } |