aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Herbert <marc.herbert@gmail.com>2019-11-15 09:48:18 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-11-16 21:27:05 +0200
commit1e7972e9ddbb8a324d0c63c14ced837cb5f940e6 (patch)
tree03fde48f2b3ef93459bcf8a033e77b848edf83f2
parent07389e23bc225adb9f9462e2fec1272ee24062e9 (diff)
downloadmeson-1e7972e9ddbb8a324d0c63c14ced837cb5f940e6.zip
meson-1e7972e9ddbb8a324d0c63c14ced837cb5f940e6.tar.gz
meson-1e7972e9ddbb8a324d0c63c14ced837cb5f940e6.tar.bz2
docs: fix non-existent "meson rewriter" command in examples [skip ci]
Probably dating back to the former mesonrewriter command? Fixes commit d4fe805a51d5 In some corner cases, "rewriter" could be mistaken as a positional argument.
-rw-r--r--docs/markdown/Rewriter.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Rewriter.md b/docs/markdown/Rewriter.md
index 9972bea..6414480 100644
--- a/docs/markdown/Rewriter.md
+++ b/docs/markdown/Rewriter.md
@@ -80,13 +80,13 @@ It is also possible to set kwargs of specific functions with the rewriter. The
general command for setting or removing kwargs is:
```bash
-meson rewriter kwargs {set/delete} <function type> <function ID> <key1> <value1> <key2> <value2> ...
+meson rewrite kwargs {set/delete} <function type> <function ID> <key1> <value1> <key2> <value2> ...
```
For instance, setting the project version can be achieved with this command:
```bash
-meson rewriter kwargs set project / version 1.0.0
+meson rewrite kwargs set project / version 1.0.0
```
Currently, only the following function types are supported:
@@ -95,7 +95,7 @@ Currently, only the following function types are supported:
- target (any build target, the function ID is the target name/ID)
- project (the function ID must be `/` since project() can only be called once)
-For more information see the help output of the rewriter kwargs command.
+For more information see the help output of the rewrite kwargs command.
### Setting the project default options