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.
This commit is contained in:
Chris Mayo 2021-03-04 18:09:08 +00:00 committed by GitHub
parent 5ca2aa7ec0
commit 91e30fadc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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