aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 92349488e..24bedb3fb 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -51,6 +51,8 @@ static void initAndRun(int argc, char * * argv)
string arg = *i;
if (arg == "--verbose" || arg == "-v")
verbosity = (Verbosity) ((int) verbosity + 1);
+ else if (arg == "--build-output" || arg == "-B")
+ buildVerbosity = lvlError; /* lowest */
else if (arg == "--help") {
printHelp();
return;