diff options
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index c2426c4..8b91a12 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -199,6 +199,8 @@ bool CollectTargetsFromArgs(State* state, int argc, char* argv[], if (path == "clean") { *err += ", did you mean 'ninja -t clean'?"; + } else if (path == "help") { + *err += ", did you mean 'ninja -h'?"; } else { Node* suggestion = state->SpellcheckNode(path); if (suggestion) { |