fix command names

This commit is contained in:
iwilltry42 2020-07-14 12:40:53 +02:00
parent 93dc966411
commit 9c65d7bac6
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
3 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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