aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2021-03-04 18:09:08 +0000
committerGitHub <noreply@github.com>2021-03-04 20:09:08 +0200
commit91e30fadc797d1202fe49f873b27d17174398686 (patch)
treeec83b7d78e6d7708b9fe06f932697761f5acb734
parent5ca2aa7ec02806e98dc4d1c1eddfdf6b02de9ac4 (diff)
downloadmeson-91e30fadc797d1202fe49f873b27d17174398686.zip
meson-91e30fadc797d1202fe49f873b27d17174398686.tar.gz
meson-91e30fadc797d1202fe49f873b27d17174398686.tar.bz2
docs: Clarify compiler.cmd_array() (#8454)
Make it easier to understand that this array contains the compiler command, not arguments to it, and may only have one element.
-rw-r--r--docs/markdown/Reference-manual.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index e299be8..76c8f70 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -2236,8 +2236,7 @@ the following methods:
the positional argument, you can specify external dependencies to
use with `dependencies` keyword argument.
-- `cmd_array()`: returns an array containing the command arguments for
- the current compiler.
+- `cmd_array()`: returns an array containing the command(s) for the compiler.
- `compiles(code)`: returns true if the code fragment given in the
positional argument compiles, you can specify external dependencies