From 6a9411e784c58492e62a5dcb7d5d1aadfb2e1830 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 3 Oct 2018 09:31:01 -0400 Subject: [PATCH] manual: mention the "invalid parameter" case This happens often enough and the error message is quite unhelpful. Mention this error explicitly in the documentation. --- doc/manual.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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