fix command names

pull/300/head
iwilltry42 4 years ago
parent 93dc966411
commit 9c65d7bac6
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 2
      cmd/cluster/clusterStart.go
  2. 2
      cmd/cluster/clusterStop.go
  3. 2
      cmd/node/nodeList.go

@ -42,7 +42,7 @@ func NewCmdClusterStart() *cobra.Command {
// create new command
cmd := &cobra.Command{
Use: "cluster (NAME [NAME...] | --all)",
Use: "start (NAME [NAME...] | --all)",
Short: "Start existing k3d cluster(s)",
Long: `Start existing k3d cluster(s)`,
ValidArgsFunction: util.ValidArgsAvailableClusters,

@ -37,7 +37,7 @@ func NewCmdClusterStop() *cobra.Command {
// create new command
cmd := &cobra.Command{
Use: "cluster (NAME [NAME...] | --all)",
Use: "stop (NAME [NAME...] | --all)",
Short: "Stop an existing k3d cluster",
Long: `Stop an existing k3d cluster.`,
ValidArgsFunction: util.ValidArgsAvailableClusters,

@ -43,7 +43,7 @@ func NewCmdNodeList() *cobra.Command {
// create new command
cmd := &cobra.Command{
Use: "list [NAME [NAME...]]",
Aliases: []string{"ls"},
Aliases: []string{"ls", "get"},
Short: "List node(s)",
Long: `List node(s).`,
Args: cobra.MinimumNArgs(0), // 0 or more; 0 = all

Loading…
Cancel
Save