Skip to content

Commit

Permalink
Fixup use of deprecated --format option in warning (#7837)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored and konstin committed Oct 11, 2023
1 parent c4cd510 commit 0d7a952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ pub fn check(args: CheckCommand, log_level: LogLevel) -> Result<ExitStatus> {

if cli.watch {
if output_format != SerializationFormat::Text {
warn_user!("--format 'text' is used in watch mode.");
warn_user!("`--output-format text` is always used in watch mode.");
}

// Configure the file watcher.
Expand Down

0 comments on commit 0d7a952

Please sign in to comment.