Merge pull request #9188 from somaopensource/8777-fix

Fix for #8777 (continuing PR #9061)
This commit is contained in:
Jessie Frazelle 2014-11-21 17:57:56 -08:00
commit ecb536e190

View file

@ -29,7 +29,9 @@ func ParseFlag(arg string, prev Args) (Args, error) {
}
f := strings.SplitN(arg, "=", 2)
filters[f[0]] = append(filters[f[0]], f[1])
name := strings.ToLower(strings.TrimSpace(f[0]))
value := strings.TrimSpace(f[1])
filters[name] = append(filters[name], value)
return filters, nil
}