diff --git a/cli/app/cmd.go b/cli/app/cmd.go index a247ba05..0e0eca3b 100644 --- a/cli/app/cmd.go +++ b/cli/app/cmd.go @@ -187,8 +187,8 @@ func parseCmdArgs(args []string, isLocal bool) (bool, string) { ) if isLocal { - if len(args) > 2 { - return true, fmt.Sprintf("%s ", strings.Join(args[2:], " ")) + if len(args) > 3 { + return true, fmt.Sprintf("%s ", strings.Join(args[3:], " ")) } } else { if len(args) > 3 {