Skip to content

Commit

Permalink
chore: remove flag from cli
Browse files Browse the repository at this point in the history
Signed-off-by: Moriarty <[email protected]>
  • Loading branch information
Moriarty committed Dec 15, 2022
1 parent 132160d commit e058dd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions crates/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ pub struct Cli {
#[clap(long, short, help = HelpStrings::Quiet, conflicts_with = "verbose", conflicts_with = "json")]
pub quiet: bool,

/// Whether the output should be json
#[clap(long, short = 'j', help = HelpStrings::Quiet, conflicts_with = "verbose", conflicts_with = "quiet")]
pub json: bool,

/// Which config path to use instead of the default one
#[clap(long, short = 'o', help = HelpStrings::Config)]
pub config: Option<PathBuf>,
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use std::path::PathBuf;
/// Register the subcommands on the cli
pub async fn register() -> Result<()> {
let cli = Cli::parse();
let level = if cli.quiet || cli.json {
let level = if cli.quiet {
LogLevel::Off
} else {
match cli.verbose {
Expand Down

0 comments on commit e058dd2

Please sign in to comment.