Fix docstring for 'key-type' parameter on key rotate.

Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
Ying Li 2015-12-15 10:18:58 -08:00
parent 2c7e632925
commit 63f48791c3
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ func (k *keyCommander) GetCommand() *cobra.Command {
"(no key will be generated or stored locally) "+
"Can only be used in conjunction with --key-type.")
cmdRotateKey.Flags().StringVarP(&k.rotateKeyRole, "key-type", "t", "",
`Key type to rotate. Supported values: "targets", "snapshots". `+
`Key type to rotate. Supported values: "targets", "snapshot". `+
`If not provided, both targets and snapshot keys will be rotated, `+
`and the new keys will be locally generated and stored.`)
cmd.AddCommand(cmdRotateKey)