Skip to content

Commit

Permalink
fix: use "summary" for the missing --check error message (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitamal authored Jan 13, 2025
1 parent a371dea commit 7c07c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ fn format(opt: opt::Opt) -> Result<i32> {
opt::OutputFormat::Unified | opt::OutputFormat::Summary
)
{
bail!("--output-format=unified and --output-format=standard can only be used when --check is enabled");
bail!("--output-format=unified and --output-format=summary can only be used when --check is enabled");
}

// Load the configuration
Expand Down

0 comments on commit 7c07c54

Please sign in to comment.