Skip to content

Commit

Permalink
chore: use a different message
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <[email protected]>
  • Loading branch information
knqyf263 committed Jun 24, 2024
1 parent d6e5c9b commit 5a989d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flag/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a989d4

Please sign in to comment.