Skip to content

Commit

Permalink
feat: make verbose and quiet mutually exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoJr authored and PicoJr committed Sep 25, 2019
1 parent 280679c commit abed773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ pub fn cli() -> App<'static, 'static> {
)
.arg(
Arg::with_name("quiet")
.conflicts_with("verbose")
.help("Disable progress output")
.short("q")
.long("quiet"),
Expand Down
1 change: 1 addition & 0 deletions src/cli/setup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub fn main() -> Result<()> {
)
.arg(
Arg::with_name("quiet")
.conflicts_with("verbose")
.short("q")
.long("quiet")
.help("Disable progress output"),
Expand Down

0 comments on commit abed773

Please sign in to comment.