Fixed statement
diff --git a/flag.go b/flag.go index ffd7355..9f16733 100644 --- a/flag.go +++ b/flag.go
@@ -519,8 +519,7 @@ } split := strings.SplitN(name, "=", 2) name = split[0] - m := f.formal - flag, alreadythere := m[f.normalizeFlagName(name)] // BUG + flag, alreadythere := f.formal[f.normalizeFlagName(name)] if !alreadythere { if name == "help" { // special case for nice help message. f.usage()