We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd69482 commit 5b0611eCopy full SHA for 5b0611e
1 file changed
errors.go
@@ -142,7 +142,7 @@ func (e *InvalidSyntaxError) Error() string {
142
return fmt.Sprintf("bad flag syntax: %s", e.specifiedFlag)
143
}
144
145
-// GetSpecifiedName returns the exact flag (with dashes) as it
+// GetSpecifiedFlag returns the exact flag (with dashes) as it
146
// appeared in the parsed arguments.
147
func (e *InvalidSyntaxError) GetSpecifiedFlag() string {
148
return e.specifiedFlag
0 commit comments