Fix the browse tool.
authorTony Chang <tony@chromium.org>
Fri, 26 Jul 2013 21:24:52 +0000 (14:24 -0700)
committerTony Chang <tony@chromium.org>
Fri, 26 Jul 2013 21:24:52 +0000 (14:24 -0700)
commit66822baa2b1a58e40dc886158099f1a691b095a2
treece7e1e31db21fccb1a1351a249bf4a49961577e5
parent54b3ebd641f9d7500e9950e4c74297c00a32a6d6
Fix the browse tool.

ReadFlags was altering argv in real_main causing us
to pass the wrong value into the NinjaMain constructor.
Fix this by storing the ninja command before real_main
runs.
src/ninja.cc