From 8a7d17f37b25af65a0965e587408584fdd9a7de5 Mon Sep 17 00:00:00 2001 From: p4u1 Date: Fri, 23 Feb 2024 14:57:28 +0100 Subject: [PATCH] fix --- cli/app/cmd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {