mirror of https://github.com/docker/docs.git
Change error message
Signed-off-by: Eric Sage <eric.david.sage@gmail.com>
This commit is contained in:
parent
8a77935cd4
commit
b75b5d618c
|
@ -88,7 +88,7 @@ func parseFilters(filters []string) (FilterOptions, error) {
|
||||||
for _, f := range filters {
|
for _, f := range filters {
|
||||||
kv := strings.SplitN(f, "=", 2)
|
kv := strings.SplitN(f, "=", 2)
|
||||||
if len(kv) != 2 {
|
if len(kv) != 2 {
|
||||||
return options, fmt.Errorf("Unupported filter syntax, please use help ls for details on correct usage.")
|
return options, fmt.Errorf("Unsupported filter syntax.")
|
||||||
}
|
}
|
||||||
key, value := kv[0], kv[1]
|
key, value := kv[0], kv[1]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue