Skip to content

Commit 4e2f402

Browse files
committed
deps: bump clap from 3.2.25 to 4.5
1 parent 5784dba commit 4e2f402

File tree

3 files changed

+36
-92
lines changed

3 files changed

+36
-92
lines changed

Cargo.lock

Lines changed: 33 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ anyhow = "1.0"
2323
bincode = "1.3.2"
2424
cap-std-ext = "4.0.0"
2525
chrono = { version = "0.4.38", features = ["serde"] }
26-
clap = { version = "3.2", default-features = false, features = ["cargo", "derive", "std", "suggestions"] }
26+
clap = { version = "4.5", default-features = false, features = ["cargo", "derive", "std", "help", "usage", "suggestions"] }
2727
env_logger = "0.10"
2828
fn-error-context = "0.2.1"
2929
fs2 = "0.4.3"

src/cli/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
//! Command-line interface (CLI) logic.
22
33
use anyhow::Result;
4-
use clap::StructOpt;
4+
use clap::Parser;
55
use log::LevelFilter;
6-
76
mod bootupctl;
87
mod bootupd;
98

109
/// Top-level multicall CLI.
11-
#[derive(Debug, StructOpt)]
10+
#[derive(Debug, Parser)]
1211
pub enum MultiCall {
1312
Ctl(bootupctl::CtlCommand),
1413
D(bootupd::DCommand),

0 commit comments

Comments
 (0)