summaryrefslogtreecommitdiff
path: root/wpa-psk-cli
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2022-10-03 11:41:21 +0200
committerStefan Kreutz <mail@skreutz.com>2022-10-03 11:41:21 +0200
commitfb89cc9ec177bb5e825e824fd07c1d8a12c2d0b0 (patch)
tree40cbef797c0312102122da7dacaee31fd9a1988f /wpa-psk-cli
parent843c87e03c6347ea3acc68fb63cb2a8a54ad9a19 (diff)
downloadwpa-psk-fb89cc9ec177bb5e825e824fd07c1d8a12c2d0b0.tar
Upgrade to clap 4
Diffstat (limited to 'wpa-psk-cli')
-rw-r--r--wpa-psk-cli/Cargo.toml2
-rw-r--r--wpa-psk-cli/src/bin/wpa-psk.rs2
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()
}
Generated by cgit. See skreutz.com for my tech blog and contact information.