diff options
| author | Alex Flint <[email protected]> | 2019-04-30 11:40:11 -0700 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2019-04-30 11:40:11 -0700 |
| commit | ddec9e9e4febd4f367f31297ad2744d683f474b4 (patch) | |
| tree | c128fa53b6c7e259e3513c1a6e73c1ee2d4f8654 /usage.go | |
| parent | 7df132abe85e0f04971c9b271bc9cd62d750997c (diff) | |
rename get/settable to readable/writable
Diffstat (limited to 'usage.go')
| -rw-r--r-- | usage.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ func (p *Parser) printOption(w io.Writer, spec *spec) { // If spec.dest is not the zero value then a default value has been added. var v reflect.Value if spec.root >= 0 { - v = p.get(spec) + v = p.readable(spec) } if v.IsValid() { z := reflect.Zero(v.Type()) |
