mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed verbosity option
This commit is contained in:
parent
c7d2c16a22
commit
b1720508ec
1 changed files with 12 additions and 10 deletions
|
@ -148,16 +148,18 @@ namespace BeefBuild
|
|||
return true;
|
||||
case "-verbosity":
|
||||
if (value == "quiet")
|
||||
mVerbosity = .Quiet;
|
||||
else if (value == "minimal")
|
||||
mVerbosity = .Minimal;
|
||||
else if (value == "normal")
|
||||
mVerbosity = .Normal;
|
||||
else if (value == "detailed")
|
||||
mVerbosity = .Detailed;
|
||||
//else if (value == "diagnostic")
|
||||
//mVerbosity = .Diagnostic;
|
||||
return true;
|
||||
mVerbosity = .Quiet;
|
||||
else if (value == "minimal")
|
||||
mVerbosity = .Minimal;
|
||||
else if (value == "normal")
|
||||
mVerbosity = .Normal;
|
||||
else if (value == "detailed")
|
||||
mVerbosity = .Detailed;
|
||||
else if (value == "diagnostic")
|
||||
mVerbosity = .Diagnostic;
|
||||
else
|
||||
Fail(scope String()..AppendF("Invalid verbosity option: {}", value));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue