diff options
| author | childe <[email protected]> | 2018-04-03 19:55:18 +0800 |
|---|---|---|
| committer | Eric Paris <[email protected]> | 2018-04-03 07:55:18 -0400 |
| commit | 1ce0cc6db4029d97571db82f85092fccedb572ce (patch) | |
| tree | 8c833fbe5daaefd3898388d4a979a696d151302d /string_slice.go | |
| parent | 1cd4a0c365d95803411bec89fb7b76bade17053b (diff) | |
make x.Parsed() return true after AddGoFlagSet(x) and pflag.Parse() (#162)
* make GoFlagSets.Parsed() true after pflag.Parse
some third part lib such as glog use go flag package, and its some
actions depends on if goflag.Parsed().
* add test case for goflag.CommandLine.Parsed()
* add comment to goflag.CommandLine.Parsed test case
Diffstat (limited to 'string_slice.go')
0 files changed, 0 insertions, 0 deletions
