summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2021-11-11 09:53:15 +0100
committerGitHub <noreply@github.com>2021-11-11 09:53:15 +0100
commite620fed887d1edc5c24377c0c0194da9f8d4b6b8 (patch)
tree8a22fe8af95660e1217aa169e0682eb2030981c0
parent112f85e1536b82d5f0bd84ceea5df4634151dfa9 (diff)
parentc7da3e64f97ef61f9201eff7ad70a8a652f506bb (diff)
downloadninja-e620fed887d1edc5c24377c0c0194da9f8d4b6b8.tar.gz
Merge pull request #2045 from Arthur-Milchior/rules_documentation
NF: clarify documentation's part about rules description
-rw-r--r--doc/manual.asciidoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 67f89a1..62cdbea 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -304,9 +304,9 @@ _Available since Ninja 1.11._
`restat`:: updates all recorded file modification timestamps in the `.ninja_log`
file. _Available since Ninja 1.10._
-`rules`:: output the list of all rules (eventually with their description
-if they have one). It can be used to know which rule name to pass to
-+ninja -t targets rule _name_+ or +ninja -t compdb+.
+`rules`:: output the list of all rules. It can be used to know which rule name
+to pass to +ninja -t targets rule _name_+ or +ninja -t compdb+. Adding the `-d`
+flag also prints the description of the rules.
`wincodepage`:: Available on Windows hosts (_since Ninja 1.11_).
Prints the Windows code page whose encoding is expected in the build file.