summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-10-03 09:31:01 -0400
committerBen Boeckel <mathstuf@gmail.com>2018-11-09 10:51:17 -0500
commit6a9411e784c58492e62a5dcb7d5d1aadfb2e1830 (patch)
tree6c51a1efcdcc3adfdb33104daa444ffb538277b1
parent99c5c2287b11c8bab05fb2a8cf89dc4856c708bc (diff)
downloadninja-6a9411e784c58492e62a5dcb7d5d1aadfb2e1830.tar.gz
manual: mention the "invalid parameter" case
This happens often enough and the error message is quite unhelpful. Mention this error explicitly in the documentation.
-rw-r--r--doc/manual.asciidoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 9e55c02..db164e7 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -880,7 +880,8 @@ quoting rules are deterimined by the called program, which on Windows
are usually provided by the C library. If you need shell
interpretation of the command (such as the use of `&&` to chain
multiple commands), make the command execute the Windows shell by
-prefixing the command with `cmd /c`.
+prefixing the command with `cmd /c`. Ninja may error with "invalid parameter"
+which usually indicates that the command line length has been exceeded.
[[ref_outputs]]
Build outputs