1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command
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
..
bundlefile Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
checkpoint Print checkpoint id when creating a checkpoint 2016-12-01 23:30:14 -05:00
commands Give a order to AddCommands, for easy read and maintenance. 2016-12-08 16:43:14 +08:00
container fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
formatter correct all the formate to formatter 2017-01-19 11:26:49 +08:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
inspect Move templates to pkg/templates 2016-12-12 09:34:03 +01:00
network Merge pull request #29226 from yongtang/28535-prune-until-follow-up 2017-01-09 17:58:01 +01:00
node Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
plugin fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
prune Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
registry change minor mistake of spelling 2016-12-20 21:05:19 +08:00
secret remove -f on secret create and unify usage with other commands 2017-01-06 14:07:48 -08:00
service Add SecretUpdate method to client 2017-01-13 09:51:05 -08:00
stack Few stack deploy network fixes 2017-01-10 10:29:09 +01:00
swarm Allow swarm init with --availability=drain 2017-01-10 16:31:51 -08:00
system return error when listNode fails 2017-01-19 14:02:06 +08:00
task Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
volume Merge pull request #26830 from dnephin/man-desc-in-files 2017-01-03 17:47:49 +01:00
cli.go Add some unit tests to the node and swarm cli code 2017-01-09 18:30:15 +01:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Add registry-specific credential helper support 2016-12-01 10:29:00 -08:00
trust.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
utils.go Windows: Prompt fix 2016-12-09 14:27:53 -08:00