WIP: upgrade urfave/cli to v2 #404

Draft
p4u1 wants to merge 7 commits from p4u1/abra:upgrade-cli into main
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 8a7d17f37b - Show all commits

View File

@ -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 {