Fixup use of deprecated --format option in warning (#7837)

This commit is contained in:
Zanie Blue 2023-10-06 11:10:48 -05:00 committed by GitHub
parent 22e18741bd
commit 4f95df1b6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.