Skip to content

Commit

Permalink
deps: update clap to v4
Browse files Browse the repository at this point in the history
See clap-rs/clap#3234 (comment)
for discussion on color removal in the hint/help output.
  • Loading branch information
niklaslong committed Nov 29, 2022
1 parent 31d4d61 commit f5c6d58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ features = ["circuit", "console", "parallel"]
version = "1"

[dependencies.clap]
version = "3.2"
version = "4"
features = ["derive"]

[dependencies.snarkos-account]
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default-features = false
version = "1"

[dependencies.clap]
version = "3.2"
version = "4"
features = ["derive"]

[dependencies.colored]
Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use anyhow::Result;
use clap::Parser;

#[derive(Debug, Parser)]
#[clap(name = "snarkOS", author = "The Aleo Team <hello@aleo.org>", setting = clap::AppSettings::ColoredHelp)]
#[clap(name = "snarkOS", author = "The Aleo Team <hello@aleo.org>")]
pub struct CLI {
/// Specify the verbosity [options: 0, 1, 2, 3]
#[clap(default_value = "2", short, long)]
Expand Down

0 comments on commit f5c6d58

Please sign in to comment.