ConsoleCommand.ParseArgs: don't fail if no buildfile was passed

This commit is contained in:
Adrien Delorme 2020-05-14 12:21:42 +02:00
parent 52b2151b21
commit 2f26168adc
1 changed files with 0 additions and 6 deletions

View File

@ -50,12 +50,6 @@ func (c *ConsoleCommand) ParseArgs(args []string) (*ConsoleArgs, int) {
return &cfg, 1
}
if len(args) > 1 {
// User provided too many arguments
flags.Usage()
return &cfg, 1
}
args = flags.Args()
return &cfg, 0
}