Skip to content

Commit 5b0611e

Browse files
committed
fix godoc for InvalidSyntaxError.GetSpecifiedFlag
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent fd69482 commit 5b0611e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func (e *InvalidSyntaxError) Error() string {
142142
return fmt.Sprintf("bad flag syntax: %s", e.specifiedFlag)
143143
}
144144

145-
// GetSpecifiedName returns the exact flag (with dashes) as it
145+
// GetSpecifiedFlag returns the exact flag (with dashes) as it
146146
// appeared in the parsed arguments.
147147
func (e *InvalidSyntaxError) GetSpecifiedFlag() string {
148148
return e.specifiedFlag

0 commit comments

Comments
 (0)