DockerCLI/cli
Phong Tran 0929bed42a
Fix psFormat's Size handling in config file
- do an early check if a custom format is specified either through the
  command-line, or through the cli's configuration, before adjusting
  the options (to add "size" if needed).
- also removes a redundant `options.Size = opts.size` line, as this value is
  already copied at the start of buildContainerListOptions()
- Update NewContainerFormat to use "table" format as a default if no format
  was given.

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Phong Tran <tran.pho@northeastern.edu>
2022-06-07 12:48:56 +02:00
..
command Fix psFormat's Size handling in config file 2022-06-07 12:48:56 +02:00
compose Added Swarm Job support to Stack Deploy 2022-05-17 22:30:22 +02:00
config TestSaveFileToDirs: use filepath.Join() 2022-05-04 19:49:10 +02:00
connhelper gofmt with go1.17 2022-03-26 20:21:00 +01:00
context Adopt Cobra completion v2 to support completion by CLI plugins 2022-05-12 12:59:10 +02:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags use client consts for environment variable names 2022-03-30 17:42:20 +02:00
manifest remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
registry/client cli/registry/client: remove unused IsNotFound(), and slight refactor 2022-03-30 20:00:36 +02:00
streams update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
trust remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
cobra.go cli: use "Swarm Subcommands" instead of "Orchestrator" 2022-04-08 16:57:10 +02:00
cobra_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) 2019-10-31 19:22:22 +01:00
required_test.go cli: remove deprecated io/ioutil 2022-02-25 15:42:19 +01:00