Allow 'lime rebuild <target>' and not just 'lime rebuild lime <target>'
This commit is contained in:
@@ -114,13 +114,19 @@ class CommandLineTools {
|
||||
|
||||
case "rebuild":
|
||||
|
||||
if (words.length < 2 || words.length > 2) {
|
||||
if (words.length < 1 || words.length > 2) {
|
||||
|
||||
LogHelper.error ("Incorrect number of arguments for command '" + command + "'");
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
if (words.length < 2) {
|
||||
|
||||
words.unshift ("lime");
|
||||
|
||||
}
|
||||
|
||||
var targets = words[1].split (",");
|
||||
|
||||
var haxelib = null;
|
||||
|
||||
Reference in New Issue
Block a user