summaryrefslogtreecommitdiff
path: root/docs/markdown/Commands.md
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2025-04-30 15:37:04 -0400
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-01 16:28:09 +0300
commit550cf5ebcc395dfa78bfc31ee2abc1550a9ed349 (patch)
treeef328adc2e2697e54549c9302d516f8abb35aa10 /docs/markdown/Commands.md
parentb2a266b5d9fe8dca1cdace5fddeba618fc5cace0 (diff)
downloadmeson-550cf5ebcc395dfa78bfc31ee2abc1550a9ed349.tar.gz
format: add --source-file-path argument for stdin
Fixes #14539. Otherwise, .editorconfig is read from current working directory, and there is no way to know what file name to filter to choose the right section of editor config.
Diffstat (limited to 'docs/markdown/Commands.md')
-rw-r--r--docs/markdown/Commands.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md
index 247f2d74e..09d8fd95f 100644
--- a/docs/markdown/Commands.md
+++ b/docs/markdown/Commands.md
@@ -493,6 +493,9 @@ or `--check-only` option).
input instead of reading it from a file. This cannot be used with `--recursive`
or `--inline` arguments.
+*Since 1.9.0* Using `-` as source file with `--editor-config` now requires
+`--source-file-path` argument to ensure consistent results.
+
#### Differences with `muon fmt`