GetStringOpt gets the option identified by the specified name.
(name string, flags *flag.FlagSet)
| 131 | |
| 132 | // GetStringOpt gets the option identified by the specified name. |
| 133 | func GetStringOpt(name string, flags *flag.FlagSet) string { |
| 134 | return flags.Lookup(name).Value.String() |
| 135 | } |
| 136 | |
| 137 | // GetUintOpt gets the option identified by the specified name. |
| 138 | func GetUintOpt(name string, flags *flag.FlagSet) uint { |
no test coverage detected