GetFlag returns the flag for which the error occurred.
()
| 80 | |
| 81 | // GetFlag returns the flag for which the error occurred. |
| 82 | func (e *ValueRequiredError) GetFlag() *Flag { |
| 83 | return e.flag |
| 84 | } |
| 85 | |
| 86 | // GetSpecifiedName returns the name of the flag (without dashes) as it |
| 87 | // appeared in the parsed arguments. |
no outgoing calls