moby/cli/command/plugin
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
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
create.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
disable.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
enable.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
inspect.go Fix usage message of plugin inspect 2016-12-31 09:55:04 -08:00
install.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
list.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
push.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
remove.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
set.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00