update clap to v3: cli-output

This commit is contained in:
klykov
2022-03-08 16:28:30 +01:00
parent e868c7806d
commit 724e67240c
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ documentation = "https://docs.rs/solana-cli-output"
[dependencies]
base64 = "0.13.0"
chrono = { version = "0.4.11", features = ["serde"] }
clap = "3.1.5"
clap = { version = "3.1.5", features = ["cargo"] }
console = "0.15.0"
humantime = "2.0.1"
Inflector = "0.11.4"

View File

@@ -81,7 +81,7 @@ impl OutputFormat {
}
}
pub fn from_matches(matches: &ArgMatches<'_>, output_name: &str, verbose: bool) -> Self {
pub fn from_matches(matches: &ArgMatches, output_name: &str, verbose: bool) -> Self {
matches
.value_of(output_name)
.map(|value| match value {