summaryrefslogtreecommitdiff
path: root/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'parse.go')
-rw-r--r--parse.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/parse.go b/parse.go
index 980ac22..cf364f3 100644
--- a/parse.go
+++ b/parse.go
@@ -213,9 +213,6 @@ func NewParser(config Config, dests ...interface{}) (*Parser, error) {
for _, spec := range cmd.specs {
// get the value
v := p.val(spec.dest)
- if !v.IsValid() {
- continue
- }
// if the value is the "zero value" (e.g. nil pointer, empty struct) then ignore
if isZero(v) {