diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ninja.cc | 3 | ||||
-rw-r--r-- | src/util.cc | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 538d0d7..7929e68 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -91,6 +91,9 @@ void Usage(const BuildConfig& config) { "\n" " -j N run N jobs in parallel [default=%d]\n" " -l N do not start new jobs if the load average is greater than N\n" +#ifdef _WIN32 +" (not yet implemented on Windows)\n" +#endif " -k N keep going until N jobs fail [default=1]\n" " -n dry run (don't run commands but pretend they succeeded)\n" " -v show all command lines while building\n" diff --git a/src/util.cc b/src/util.cc index 2277a82..10c9dc6 100644 --- a/src/util.cc +++ b/src/util.cc @@ -286,6 +286,7 @@ string StripAnsiEscapeCodes(const string& in) { #ifdef _WIN32 double GetLoadAverage() { // TODO(nicolas.despres@gmail.com): Find a way to implement it on Windows. + // Remember to also update Usage() when this is fixed. return -0.0f; } #else |