diff options
author | Billy Donahue <BillyDonahue@users.noreply.github.com> | 2018-01-12 18:31:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 18:31:06 (GMT) |
commit | 776b03c256ca140b17e7e3f3c76c979ad764079a (patch) | |
tree | f3cd13a8c637ef8f485f730ec5dae6e0e03288e1 /src | |
parent | e234a7bdb6c42f4539c0ab09b624f191287c2c10 (diff) | |
download | Ninja-776b03c256ca140b17e7e3f3c76c979ad764079a.zip Ninja-776b03c256ca140b17e7e3f3c76c979ad764079a.tar.gz Ninja-776b03c256ca140b17e7e3f3c76c979ad764079a.tar.bz2 |
Update Usage to show "-k 0" behavior
For "-k N", N==0 is interpreted as infinite. It's useful but not documented in the help, unfortunately.
Diffstat (limited to 'src')
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 30f89c2..475d039 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -207,7 +207,7 @@ void Usage(const BuildConfig& config) { " -f FILE specify input build file [default=build.ninja]\n" "\n" " -j N run N jobs in parallel [default=%d, derived from CPUs available]\n" -" -k N keep going until N jobs fail [default=1]\n" +" -k N keep going until N jobs fail (0 means infinity) [default=1]\n" " -l N do not start new jobs if the load average is greater than N\n" " -n dry run (don't run commands but act like they succeeded)\n" " -v show all command lines while building\n" |