1
0
mirror of https://github.com/docker/docs.git synced 2026-10-31 10:34:26 +03:00
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux
2014-12-16 01:54:56 +00:00
parent 827cdf19f6
commit ad49f11c4e

View File

@@ -103,8 +103,9 @@ func manage(c *cli.Context) {
log.Fatal(err)
}
// see https://github.com/codegangsta/cli/issues/160
names := c.StringSlice("filter")
if c.IsSet("filter") {
if c.IsSet("filter") || c.IsSet("f") {
names = names[3:]
}
fs, err := filter.New(names)