Fix use of pretty.Bash()

This commit is contained in:
John Gardiner Myers 2021-07-12 20:38:47 -07:00
parent 1c3947220e
commit 3613695248
4 changed files with 7 additions and 4 deletions

View File

@ -32,7 +32,7 @@ import (
)
var (
trustKeypairLong = templates.LongDesc(i18n.T(`
trustKeypairLong = pretty.LongDesc(i18n.T(`
Trust one or more keypairs in a keyset.
Trusting adds the certificates of the specified keypairs to trust

View File

@ -41,7 +41,7 @@ import (
)
var (
upgradeClusterLong = templates.LongDesc(i18n.T(`
upgradeClusterLong = pretty.LongDesc(i18n.T(`
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended
production ready Kubernetes version. After this command is run, use ` + pretty.Bash("kops update cluster") + ` and ` + pretty.Bash("kops rolling-update cluster") + `
to finish a cluster upgrade.

View File

@ -9,7 +9,8 @@ Trust a keypair.
Trust one or more keypairs in a keyset.
Trusting adds the certificates of the specified keypairs to trust stores. It is the reverse of thekops distrust keypair command.
Trusting adds the certificates of the specified keypairs to trust
stores. It is the reverse of the `kops distrust keypair` command.
```
kops trust keypair KEYSET ID... [flags]

View File

@ -7,7 +7,9 @@ Upgrade a kubernetes cluster.
### Synopsis
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended production ready Kubernetes version. After this command is run, usekops update cluster andkops rolling-update cluster to finish a cluster upgrade.
Automates checking for and applying Kubernetes updates. This upgrades a cluster to the latest recommended
production ready Kubernetes version. After this command is run, use `kops update cluster` and `kops rolling-update cluster`
to finish a cluster upgrade.
```
kops upgrade cluster [CLUSTER] [flags]