From 131d84e1f1aa2e888978adaedd6876b61cd9e2ce Mon Sep 17 00:00:00 2001 From: jm33-m0 Date: Wed, 19 Jul 2023 18:31:56 +0900 Subject: [PATCH] fix: `label` by tag not working --- core/lib/cc/cmd.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/core/lib/cc/cmd.go b/core/lib/cc/cmd.go index 495476ede..5f79e124f 100644 --- a/core/lib/cc/cmd.go +++ b/core/lib/cc/cmd.go @@ -250,7 +250,7 @@ func setCurrentTarget(cmd string) { func setTargetLabel(cmd string) { cmdSplit := strings.Fields(cmd) if len(cmdSplit) < 2 { - CliPrintError("Invalid command %s, usage: 'label