1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00

Added -version command

This commit is contained in:
Brian Fiete 2019-10-09 16:08:45 -07:00
parent 85d197f552
commit 1aded38e36
2 changed files with 20 additions and 4 deletions

View file

@ -46,6 +46,8 @@ namespace BeefBuild
public override void Init()
{
GetVersionInfo();
if (mVerbosity == .Default)
mVerbosity = .Normal;
@ -109,6 +111,9 @@ namespace BeefBuild
public override bool HandleCommandLineParam(String key, String value)
{
if (key.StartsWith("--"))
key.Remove(0, 1);
if (value == null)
{
switch (key)
@ -133,6 +138,9 @@ namespace BeefBuild
case "-noir":
mConfig_NoIR = true;
return true;
case "-version":
mVerb = .GetVersion;
return true;
}
}
else