GetSpecifiedShortnames returns the group of shorthand arguments (without dashes) that the flag appeared within. If the flag was not in a shorthand group, this will return an empty string.
()
| 93 | // (without dashes) that the flag appeared within. If the flag was not in a |
| 94 | // shorthand group, this will return an empty string. |
| 95 | func (e *ValueRequiredError) GetSpecifiedShortnames() string { |
| 96 | return e.specifiedShorthands |
| 97 | } |
| 98 | |
| 99 | // InvalidValueError is the error returned when an invalid value is used |
| 100 | // for a flag. |
no outgoing calls