summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2021-03-20 14:18:53 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2021-03-20 14:18:53 (GMT)
commitdb6c4ac47601c88984822e1e7b5f4b9044dd6d81 (patch)
tree70b7d0e465419799410e628acbab01d18f53c789 /src/manifest_parser.cc
parent2b97efa4a967eb6aec02ed8ee5aefa26f8c922c6 (diff)
downloadNinja-db6c4ac47601c88984822e1e7b5f4b9044dd6d81.zip
Ninja-db6c4ac47601c88984822e1e7b5f4b9044dd6d81.tar.gz
Ninja-db6c4ac47601c88984822e1e7b5f4b9044dd6d81.tar.bz2
Remove `-w dupbuild` from error message and help output
This is step 4 on #931.
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r--src/manifest_parser.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc
index 54ad3f4..f77109f 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -323,15 +323,14 @@ bool ManifestParser::ParseEdge(string* err) {
return lexer_.Error(path_err, err);
if (!state_->AddOut(edge, path, slash_bits)) {
if (options_.dupe_edge_action_ == kDupeEdgeActionError) {
- lexer_.Error("multiple rules generate " + path + " [-w dupbuild=err]",
- err);
+ lexer_.Error("multiple rules generate " + path, err);
return false;
} else {
if (!quiet_) {
- Warning("multiple rules generate %s. "
- "builds involving this target will not be correct; "
- "continuing anyway [-w dupbuild=warn]",
- path.c_str());
+ Warning(
+ "multiple rules generate %s. builds involving this target will "
+ "not be correct; continuing anyway",
+ path.c_str());
}
if (e - i <= static_cast<size_t>(implicit_outs))
--implicit_outs;