diff --git a/cmd/dagger/cmd/init.go b/cmd/dagger/cmd/init.go index 9d5d1872..36e3bde4 100644 --- a/cmd/dagger/cmd/init.go +++ b/cmd/dagger/cmd/init.go @@ -10,8 +10,9 @@ import ( ) var initCmd = &cobra.Command{ - Use: "init", - Args: cobra.MaximumNArgs(1), + Use: "init", + Short: "Initialize a new empty workspace", + Args: cobra.MaximumNArgs(1), PreRun: func(cmd *cobra.Command, args []string) { // Fix Viper bug for duplicate flags: // https://github.com/spf13/viper/issues/233 diff --git a/cmd/dagger/cmd/input/list.go b/cmd/dagger/cmd/input/list.go index 6dd65538..f0309cb9 100644 --- a/cmd/dagger/cmd/input/list.go +++ b/cmd/dagger/cmd/input/list.go @@ -20,7 +20,7 @@ import ( var listCmd = &cobra.Command{ Use: "list [TARGET] [flags]", - Short: "List for the inputs of an environment", + Short: "List the inputs of an environment", Args: cobra.MaximumNArgs(1), PreRun: func(cmd *cobra.Command, args []string) { // Fix Viper bug for duplicate flags: diff --git a/cmd/dagger/cmd/new.go b/cmd/dagger/cmd/new.go index 81979cfc..96371951 100644 --- a/cmd/dagger/cmd/new.go +++ b/cmd/dagger/cmd/new.go @@ -8,8 +8,9 @@ import ( ) var newCmd = &cobra.Command{ - Use: "new", - Args: cobra.ExactArgs(1), + Use: "new", + Short: "Create a new empty environment", + Args: cobra.ExactArgs(1), PreRun: func(cmd *cobra.Command, args []string) { // Fix Viper bug for duplicate flags: // https://github.com/spf13/viper/issues/233