Sebastiaan van Stijn
ffebf75329
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 >
Upstream-commit: bb3c0b246617aecb8ecf9120f07efcf45b94ae09
Component: engine
2017-01-23 14:52:36 +01:00
..
2016-11-03 15:48:30 -07:00
2016-12-20 17:43:26 +08:00
2016-12-31 14:17:34 +01:00
2016-12-29 02:00:31 +08:00
2017-01-04 14:16:42 -08:00
2017-01-13 13:58:25 +00:00
2017-01-04 19:54:03 +08:00
2016-11-22 19:09:30 +01:00
2016-12-20 17:03:11 -08:00
2017-01-04 13:46:19 +01:00
2017-01-03 16:03:48 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2017-01-04 14:16:42 -08:00
2016-11-17 15:34:17 +01:00
2016-11-03 15:48:30 -07:00
2017-01-03 22:34:32 +08:00
2016-11-23 17:20:12 +01:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-12-07 10:14:28 -08:00
2016-11-03 15:48:30 -07:00
2017-01-08 05:27:54 +01:00
2016-11-03 15:48:30 -07:00
2017-01-04 19:54:03 +08:00
2016-12-14 08:39:10 -08:00
2016-11-03 15:48:30 -07:00
2016-11-09 13:58:04 -08:00
2016-12-08 17:13:38 +08:00
2017-01-04 14:16:42 -08:00
2016-11-03 15:48:30 -07:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-18 06:47:54 -08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 17:27:28 +08:00
2016-12-30 08:47:08 +08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2017-01-12 20:10:23 +08:00
2017-01-03 16:03:48 -08:00
2017-01-23 14:52:36 +01:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-22 21:59:10 +00:00
2017-01-23 14:52:36 +01:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2017-01-06 19:01:48 +01:00
2016-11-03 15:48:30 -07:00
2016-11-28 10:31:38 -08:00
2017-01-06 14:07:48 -08:00
2016-11-22 18:18:56 -05:00
2016-12-20 22:08:07 +08:00
2016-11-09 14:27:45 -05:00
2016-12-19 19:35:05 -08:00
2017-01-09 10:30:28 -08:00
2016-12-15 17:43:51 +08:00
2016-12-15 17:43:51 +08:00
2016-12-22 11:33:47 -08:00
2016-12-15 17:43:51 +08:00
2016-12-15 17:43:51 +08:00
2016-12-19 19:35:05 -08:00
2017-01-04 01:39:45 +08:00
2016-12-13 18:06:18 +08:00
2017-01-04 01:39:45 +08:00
2016-12-13 18:06:18 +08:00
2016-12-13 18:06:18 +08:00
2016-11-03 15:48:30 -07:00
2016-11-16 15:26:29 +01:00
2016-11-03 15:48:30 -07:00
2017-01-10 16:31:51 -08:00
2016-12-20 18:09:21 +08:00
2017-01-10 16:31:51 -08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-11-03 15:48:30 -07:00
2017-01-04 14:16:42 -08:00
2016-11-18 10:34:02 +02:00
2016-11-03 15:48:30 -07:00
2016-12-16 17:27:28 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2017-01-04 23:29:12 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00