Skip to content

Commit

Permalink
Merge pull request #2509 from weaveworks/fix-cmd-docs
Browse files Browse the repository at this point in the history
fixing cmd docs for print-kubeconfig
  • Loading branch information
bigkevmcd authored Mar 10, 2023
2 parents 6f571d6 + de20294 commit 6461fee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/gitops/app/get/clusters/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ func GetCommand(opts *config.Options, client *adapters.HTTPClient) *cobra.Comman
cmd := &cobra.Command{
Use: "cluster",
Aliases: []string{"clusters"},
Short: "Display one or many CAPI clusters",
Short: "Display one or many clusters",
Example: `
# Get all CAPI clusters
# Get all clusters
gitops get clusters
# Get a single CAPI cluster
# Get a single cluster
gitops get cluster <cluster-name>
# Get the Kubeconfig of a cluster
gitops get cluster <cluster-name> --kubeconfig`,
gitops get cluster <cluster-name> --print-kubeconfig`,
SilenceUsage: true,
SilenceErrors: true,
PreRunE: getClusterCmdPreRunE(&opts.Endpoint),
Expand Down

0 comments on commit 6461fee

Please sign in to comment.