Don't echo "Invalid command" when using the version command with a parameter
This commit is contained in:
8
make.ps1
8
make.ps1
@@ -234,7 +234,13 @@ else
|
|||||||
$command = $args
|
$command = $args
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($command)
|
$execute = $command
|
||||||
|
if ($command.Length -gt 1)
|
||||||
|
{
|
||||||
|
$execute = $command[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
switch ($execute)
|
||||||
{
|
{
|
||||||
"all" { All-Command }
|
"all" { All-Command }
|
||||||
"dependencies" { Dependencies-Command }
|
"dependencies" { Dependencies-Command }
|
||||||
|
|||||||
Reference in New Issue
Block a user