Skip to content

Commit 7c07c54

Browse files
authored
fix: use "summary" for the missing --check error message (#949)
1 parent a371dea commit 7c07c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ fn format(opt: opt::Opt) -> Result<i32> {
266266
opt::OutputFormat::Unified | opt::OutputFormat::Summary
267267
)
268268
{
269-
bail!("--output-format=unified and --output-format=standard can only be used when --check is enabled");
269+
bail!("--output-format=unified and --output-format=summary can only be used when --check is enabled");
270270
}
271271

272272
// Load the configuration

0 commit comments

Comments
 (0)