about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-05 14:00:18 +0200
committerGitHub <noreply@github.com>2023-08-05 14:00:18 +0200
commit9ad3be3787da49c4bd3e4690969be9d1b2b223e5 (patch)
tree14171fbf2717d96da4b74aa93b89d6a283a4f483 /src
parente722f6f3ac46393ec9829a86aaef982b5fa0eb8b (diff)
parent88cb2bba15ebae39ebb13a35d52152e58f2d054a (diff)
downloadrust-9ad3be3787da49c4bd3e4690969be9d1b2b223e5.tar.gz
rust-9ad3be3787da49c4bd3e4690969be9d1b2b223e5.zip
Rollup merge of #114498 - chenyukang:yukang-fix-tidy-tip, r=ozkanonur
Print tidy command with bless tidy check failure

It's more friendly for beginners to fix fluent alphabetical errors.
Diffstat (limited to 'src')
-rw-r--r--src/tools/tidy/src/fluent_alphabetical.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/fluent_alphabetical.rs b/src/tools/tidy/src/fluent_alphabetical.rs
index 5f8eaebf531..67b745373f0 100644
--- a/src/tools/tidy/src/fluent_alphabetical.rs
+++ b/src/tools/tidy/src/fluent_alphabetical.rs
@@ -23,7 +23,7 @@ fn check_alphabetic(filename: &str, fluent: &str, bad: &mut bool) {
                 tidy_error!(
                     bad,
                     "{filename}: message `{}` appears before `{}`, but is alphabetically later than it
-run tidy with `--bless` to sort the file correctly",
+run `./x.py test tidy --bless` to sort the file correctly",
                     name.as_str(),
                     next.as_str()
                 );