moby/cli/command/image
Sebastiaan van Stijn bb3c0b2466
fix flag descriptions for content-trust
Commit ed13c3abfb 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` (9640e3a451),
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
..
build Move builder cli helper functions to own pkg 2016-12-26 18:53:22 -08:00
build.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
history.go Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
import.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
list.go Add reference filter and deprecated filter param… 2016-11-11 15:34:01 +01:00
load.go Windows: Use sequential file access 2016-11-14 17:41:52 -08:00
prune.go Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
pull.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
push.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
remove.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
save.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
tag.go Change the docker-tag usage text to be clearer 2016-11-18 10:34:02 +02:00
trust.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
trust_test.go cli: Split out GetNotaryRepository and associated functions 2016-12-14 10:49:32 -08:00