Add spell checking for debug flags.
authorNico Weber <thakis@chromium.org>
Wed, 27 Mar 2013 23:03:52 +0000 (16:03 -0700)
committerNico Weber <thakis@chromium.org>
Wed, 27 Mar 2013 23:03:52 +0000 (16:03 -0700)
commit61f4a9905a7e68149a5420617f23d4e73783335c
tree2ae0d355965d43c05294c152e56a236662dad82f
parent543f3edb5c8031aecdf176050065e35101e1992f
Add spell checking for debug flags.

I just used `ninja -d stat` and it took me a bit to realize that I missed the
trailing 's'.

While here, move the message printing from printf() to Error(). This makes the
output consistent with other error outputs: The messages are now prefixed with
"ninja: error: " instead of just "ninja: " and they go to stderr instead of
stdout.
src/ninja.cc