fix fn required arguments issue (#572)

This commit is contained in:
Pedro Nasser
2017-03-07 02:48:44 -03:00
committed by Travis Reeder
parent ad0e54ae06
commit 09960eaec5

View File

@@ -91,7 +91,7 @@ func parseArgs(c *cli.Context) ([]string, []string) {
for _, arg := range args {
if strings.HasPrefix(arg, "[") {
optArgs = append(optArgs, arg)
} else {
} else if strings.Trim(arg, " ") != "" {
reqArgs = append(reqArgs, arg)
}
}