ShorthandLookup returns the Flag structure of the short handed flag, returning nil if none exists.
(name string)
| 479 | // ShorthandLookup returns the Flag structure of the short handed flag, |
| 480 | // returning nil if none exists. |
| 481 | func ShorthandLookup(name string) *Flag { |
| 482 | return CommandLine.ShorthandLookup(name) |
| 483 | } |
| 484 | |
| 485 | // Set sets the value of the named flag. |
| 486 | func (f *FlagSet) Set(name, value string) error { |