DockerCLI/cmd/docker
Ian Campbell 8c087b6a1e cmd/docker: only parse global arguments once.
Before calling `cmd.Execute` we need to reset the arguments to be used to not
include the global arguments which we have already parsed. This is precisely
the `args` which we have in our hand at this point.

This fixes `TestGlobalArgsOnlyParsedOnce/builtin` in the cli-plugins e2e tests.

`TestGlobalArgsOnlyParsedOnce/plugin` is still broken will be fixed next.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-04-03 15:07:38 +01:00
..
docker.go cmd/docker: only parse global arguments once. 2019-04-03 15:07:38 +01:00
docker_test.go allow plugins to have argument which match a top-level flag. 2019-03-13 11:28:17 +00:00
docker_windows.go Add windows resources to binary. 2017-05-15 18:03:03 -04:00