From a58b816ce5d517b51bc048d5d6ff67ac931d115a Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Sat, 22 Aug 2020 22:15:30 +0200 Subject: [PATCH] Fix feedback on cli docs --- cmd/kops/delete.go | 2 +- cmd/kops/delete_instance.go | 2 +- docs/cli/kops_delete.md | 4 ++-- docs/cli/kops_delete_instance.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/kops/delete.go b/cmd/kops/delete.go index c959b5a2f3634..0caf594ef18ec 100644 --- a/cmd/kops/delete.go +++ b/cmd/kops/delete.go @@ -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(` diff --git a/cmd/kops/delete_instance.go b/cmd/kops/delete_instance.go index f9ee0771448eb..5bcc023ac1c7c 100644 --- a/cmd/kops/delete_instance.go +++ b/cmd/kops/delete_instance.go @@ -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() diff --git a/docs/cli/kops_delete.md b/docs/cli/kops_delete.md index a4814b456bba9..b8efd0366a4f5 100644 --- a/docs/cli/kops_delete.md +++ b/docs/cli/kops_delete.md @@ -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 diff --git a/docs/cli/kops_delete_instance.md b/docs/cli/kops_delete_instance.md index c7e822d10baf1..6b591873c58e3 100644 --- a/docs/cli/kops_delete_instance.md +++ b/docs/cli/kops_delete_instance.md @@ -3,7 +3,7 @@ ## kops delete instance -Delete instancegroup +Delete an instance ### Synopsis