diff --git a/cmd/kops/export.go b/cmd/kops/export.go index c98f54a470..c6230e17e0 100644 --- a/cmd/kops/export.go +++ b/cmd/kops/export.go @@ -22,28 +22,17 @@ import ( "github.com/spf13/cobra" "k8s.io/kops/cmd/kops/util" "k8s.io/kubectl/pkg/util/i18n" - "k8s.io/kubectl/pkg/util/templates" ) var ( - exportLong = templates.LongDesc(i18n.T(` - Export configurations from a cluster.`)) - - exportExample = templates.Examples(i18n.T(` - # export a kubecfg file - kops export kubecfg k8s-cluster.example.com - `)) - exportShort = i18n.T(`Export configuration.`) ) func NewCmdExport(f *util.Factory, out io.Writer) *cobra.Command { cmd := &cobra.Command{ - Use: "export", - Short: exportShort, - Long: exportLong, - Example: exportExample, + Use: "export", + Short: exportShort, } // create subcommands diff --git a/docs/cli/kops_export.md b/docs/cli/kops_export.md index 4983676e71..992d4227d3 100644 --- a/docs/cli/kops_export.md +++ b/docs/cli/kops_export.md @@ -5,17 +5,6 @@ Export configuration. -### Synopsis - -Export configurations from a cluster. - -### Examples - -``` - # export a kubecfg file - kops export kubecfg k8s-cluster.example.com -``` - ### Options ```