diff options
| author | Eric Paris <[email protected]> | 2016-09-06 09:43:34 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-09-06 09:43:34 -0400 |
| commit | 6fd2ff4ff8dfcdf5556fbdc0ac0284408274b1a7 (patch) | |
| tree | 0b879204d147d343013bfd9df10c26e0d9fdda0b /flag.go | |
| parent | 103ce5cd2042f2fe629c1957abb64ab3e7f50235 (diff) | |
| parent | 191ef6fd817dfda320833b43a97932f049562514 (diff) | |
Merge pull request #90 from wu8685/string_array
add a new type StringArray
Diffstat (limited to 'flag.go')
| -rw-r--r-- | flag.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -434,7 +434,7 @@ func (f *Flag) defaultIsZeroValue() bool { return f.DefValue == "" case *ipValue, *ipMaskValue, *ipNetValue: return f.DefValue == "<nil>" - case *intSliceValue, *stringSliceValue: + case *intSliceValue, *stringSliceValue, *stringArrayValue: return f.DefValue == "[]" default: return true |
