update clap to v3: cli-output
This commit is contained in:
@@ -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"
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user