From 4f95df1b6d10b98931eb3726d8ef1c0c0278fe00 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 6 Oct 2023 11:10:48 -0500 Subject: [PATCH] Fixup use of deprecated `--format` option in warning (#7837) --- crates/ruff_cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_cli/src/lib.rs b/crates/ruff_cli/src/lib.rs index c74279392b564..c8649791b0bc6 100644 --- a/crates/ruff_cli/src/lib.rs +++ b/crates/ruff_cli/src/lib.rs @@ -304,7 +304,7 @@ pub fn check(args: CheckCommand, log_level: LogLevel) -> Result { 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.