mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Fixup use of deprecated --format
option in warning (#7837)
This commit is contained in:
parent
22e18741bd
commit
4f95df1b6d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue