зеркало из https://github.com/github/vitess-gh.git
c515216e94
This: - Corrects an initial migration of the `DualFormat*` functions to _actually_ install the flag on the passed in flagset, rather than the global one. - Updates `StringListVar` to fully-implement `pflag.Value`, mimicking pflag's `StringSlice` implementation for this method. - Removes the compile-time type-check on `StringSetFlag` implementing `flag.Value` (which is a subset of `pflag.Value` anyway), as well as in the test code. Closes #11296. Signed-off-by: Andrew Mason <andrew@planetscale.com> |
||
---|---|---|
.. | ||
flagutil.go | ||
flagutil_test.go | ||
optional.go | ||
sets.go |