summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-12-09 15:45:25 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2011-12-09 15:47:19 (GMT)
commitab8d80f398970419c8fb9f6a67bb86a4251af191 (patch)
treea0e8902d8a705caa41caa6dfa9cf33c998cf9a09
parent14797d33905431aae967048ef43c0de68d981476 (diff)
downloadNinja-ab8d80f398970419c8fb9f6a67bb86a4251af191.zip
Ninja-ab8d80f398970419c8fb9f6a67bb86a4251af191.tar.gz
Ninja-ab8d80f398970419c8fb9f6a67bb86a4251af191.tar.bz2
Fix 'list' tool.
-rw-r--r--src/ninja.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 25d5bfa..18b3980 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -565,7 +565,7 @@ reload:
if (tool == "clean")
return CmdClean(&state, argc+1, argv-1, config);
if (tool == "list")
- return CmdClean(&state, argc+1, argv-1, config);
+ return CmdList(&state, argc, argv);
const char* suggestion = SpellcheckString(tool,
"graph", "query", "browse", "targets", "rules", "commands", "clean",