DockerCLI/command/container
Sebastiaan van Stijn 62ff1a0ea7 fix flag descriptions for content-trust
Commit ed13c3abfb242905ec012e8255dc6f26dcf122f6 added flags
for Docker Content Trust. Depending on the `verify` boolean,
the message is "Skip image verification", or "Skip image signing".
"Signing" is intended for `docker push` / `docker plugin push`.

During the migration to Cobra, this boolean got flipped for
`docker push` (9640e3a4514f96a890310757a09fd77a3c70e931),
causing `docker push` to show the incorrect flag description.

This patch changes the flags to use the correct description
for `docker push`, and `docker plugin push`.

To prevent this confusion in future, the boolean argument
is removed, and a `AddTrustSigningFlags()` function is added.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-01-23 14:52:36 +01:00
..
testdata Clean some stuff from runconfig that are cli only… 2016-12-24 13:16:00 +01:00
attach.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
cmd.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
commit.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
cp.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
create.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
diff.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
exec.go Merge pull request #29683 from vdemeester/runconfig-clean 2016-12-29 17:42:08 +01:00
exec_test.go Remove redundant parameter and fix typos 2016-11-10 11:05:31 +08:00
export.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
hijack.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
inspect.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
kill.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
list.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
logs.go Merge pull request #29688 from tronicum/since-flag 2017-01-09 09:27:30 -05:00
opts.go Don't use AutoRemove on older daemons 2017-01-15 01:59:57 +01:00
opts_test.go Don't use AutoRemove on older daemons 2017-01-15 01:59:57 +01:00
pause.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
port.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
prune.go Add `--filter until=<timestamp>` for `docker container/image prune` 2017-01-04 14:16:42 -08:00
ps_test.go Use `map[string]bool` for `preProcessor` to ignore unknwon field 2016-11-16 13:23:47 -08:00
rename.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
restart.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
rm.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
run.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
start.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
stats.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
stats_helpers.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
stats_unit_test.go Update function name for TestCalculBlockIO 2016-11-09 17:43:10 +08:00
stop.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
top.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
tty.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
unpause.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
update.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
utils.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00
wait.go Minor cleanups in cli/command/container 2016-12-26 01:33:25 +01:00