summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-04-27 23:54:49 (GMT)
committerColin Cross <ccross@android.com>2016-04-28 00:22:08 (GMT)
commit6c2c2eecbfd2e4ddeeacb0129944618a6ce3dc4f (patch)
tree0fc7aa5e61bb4782cb323e666eb5c9ae8caa753e /doc
parentddaf63fe1b41dfd58c646b05fd16dbe374a81ef3 (diff)
downloadNinja-6c2c2eecbfd2e4ddeeacb0129944618a6ce3dc4f.zip
Ninja-6c2c2eecbfd2e4ddeeacb0129944618a6ce3dc4f.tar.gz
Ninja-6c2c2eecbfd2e4ddeeacb0129944618a6ce3dc4f.tar.bz2
Change default NINJA_STATUS to [%f/%t]
PR #999 changed the status line to be printed when edges finish on dumb teerminals, but the default status message includes the number of started edges, resulting in sequential status lines with identical edge counts. Change the default status to show the number of finished edges, which will keep the count incrementing on every line. This will slightly change the output on smart terminals. Previously a build that was just starting would show a count equal to the number of concurrent jobs, and a build waiting for the final jobs to finish would show a count equal to the total number of edges. Now a starting build will show 0, and build waiting for the final jobs will show a count less than the total number of edges by the number of remaining jobs. Fixes: #1142
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 9fc5fb9..d7ec932 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -208,7 +208,7 @@ specified by `-j` or its default)
`%e`:: Elapsed time in seconds. _(Available since Ninja 1.2.)_
`%%`:: A plain `%` character.
-The default progress status is `"[%s/%t] "` (note the trailing space
+The default progress status is `"[%f/%t] "` (note the trailing space
to separate from the build rule). Another example of possible progress status
could be `"[%u/%r/%f] "`.