(shortName string)
| 273 | } |
| 274 | |
| 275 | func (c *flagContext) getFlagNameWithShortName(shortName string) string { |
| 276 | for n, f := range c.cmdFlags { |
| 277 | if f.GetShortName() == shortName { |
| 278 | return n |
| 279 | } |
| 280 | } |
| 281 | return "" |
| 282 | } |
| 283 | |
| 284 | func (c *flagContext) isFlagProvided(flg *string) bool { |
| 285 | if _, ok := c.flagsets[*flg]; !ok { |
no test coverage detected