Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix feedback on cli docs
Browse files Browse the repository at this point in the history
Ole Markus With committed Aug 22, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 1b86f70 commit a58b816
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/kops/delete.go
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ type DeleteOptions struct {

var (
deleteLong = templates.LongDesc(i18n.T(`
Delete Kubernetes clusters, instancegroups, and secrets, or a combination of the before mentioned.
Delete Kubernetes clusters, instancegroups, instances, and secrets, or a combination of the before mentioned.
`))

deleteExample = templates.Examples(i18n.T(`
2 changes: 1 addition & 1 deletion cmd/kops/delete_instance.go
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ func NewCmdDeleteInstance(f *util.Factory, out io.Writer) *cobra.Command {
kops delete instance --cloudonly i-0a5ed581b862d3425
`))

deleteInstanceShort := i18n.T(`Delete instancegroup`)
deleteInstanceShort := i18n.T(`Delete an instance`)

var options deleteInstanceOptions
options.initDefaults()
4 changes: 2 additions & 2 deletions docs/cli/kops_delete.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ Delete clusters,instancegroups, or secrets.

### Synopsis

Delete Kubernetes clusters, instancegroups, and secrets, or a combination of the before mentioned.
Delete Kubernetes clusters, instancegroups, instances, and secrets, or a combination of the before mentioned.

```
kops delete -f FILENAME [--yes] [flags]
@@ -65,7 +65,7 @@ kops delete -f FILENAME [--yes] [flags]

* [kops](kops.md) - kops is Kubernetes ops.
* [kops delete cluster](kops_delete_cluster.md) - Delete a cluster.
* [kops delete instance](kops_delete_instance.md) - Delete instancegroup
* [kops delete instance](kops_delete_instance.md) - Delete an instance
* [kops delete instancegroup](kops_delete_instancegroup.md) - Delete instancegroup
* [kops delete secret](kops_delete_secret.md) - Delete a secret

2 changes: 1 addition & 1 deletion docs/cli/kops_delete_instance.md
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

## kops delete instance

Delete instancegroup
Delete an instance

### Synopsis

0 comments on commit a58b816

Please sign in to comment.