From e0fc33dce2511c60c070064ffd86c746676dd302 Mon Sep 17 00:00:00 2001 From: Julianne Swinoga Date: Fri, 25 Apr 2025 11:22:52 -0400 Subject: Add --check-diff to meson format, to show what should be formatted --- docs/markdown/Commands.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown/Commands.md') diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index 09d8fd95f..339dd93b7 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -496,6 +496,9 @@ or `--inline` arguments. *Since 1.9.0* Using `-` as source file with `--editor-config` now requires `--source-file-path` argument to ensure consistent results. +*Since 1.10.0* When `--check-diff` is specified, instead of silently exiting +with an error code, `meson format` will print a diff of the formatting changes. + #### Differences with `muon fmt` -- cgit v1.2.3