From 5a989d4fc203a5cc14ab27a2ef3877a6d871f6c0 Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Mon, 24 Jun 2024 11:33:48 +0400 Subject: [PATCH] chore: use a different message Signed-off-by: knqyf263 --- pkg/flag/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/flag/options.go b/pkg/flag/options.go index bfbad34826cb..2b80760ec5ec 100644 --- a/pkg/flag/options.go +++ b/pkg/flag/options.go @@ -115,7 +115,7 @@ func (f *Flag[T]) Parse() error { } if f.Removed != "" && f.isSet() { log.Errorf(`"--%s" was removed. %s`, f.Name, f.Removed) - return xerrors.Errorf(`"--%s" was removed`, f.Name) + return xerrors.Errorf(`removed flag ("--%s")`, f.Name) } f.value = value