diff --git a/pkg/cmd/workflow/disable/disable.go b/pkg/cmd/workflow/disable/disable.go index 3b87d5599..725c13f1a 100644 --- a/pkg/cmd/workflow/disable/disable.go +++ b/pkg/cmd/workflow/disable/disable.go @@ -29,7 +29,7 @@ func NewCmdDisable(f *cmdutil.Factory, runF func(*DisableOptions) error) *cobra. } cmd := &cobra.Command{ - Use: "disable [ | ]", + Use: "disable [ | ]", Short: "Disable a workflow", Long: "Disable a workflow, preventing it from running or showing up when listing workflows.", Args: cobra.MaximumNArgs(1), diff --git a/pkg/cmd/workflow/enable/enable.go b/pkg/cmd/workflow/enable/enable.go index 775ec89f5..2e2abdc76 100644 --- a/pkg/cmd/workflow/enable/enable.go +++ b/pkg/cmd/workflow/enable/enable.go @@ -29,7 +29,7 @@ func NewCmdEnable(f *cmdutil.Factory, runF func(*EnableOptions) error) *cobra.Co } cmd := &cobra.Command{ - Use: "enable [ | ]", + Use: "enable [ | ]", Short: "Enable a workflow", Long: "Enable a workflow, allowing it to be run and show up when listing workflows.", Args: cobra.MaximumNArgs(1), diff --git a/pkg/cmd/workflow/run/run.go b/pkg/cmd/workflow/run/run.go index 7669c174e..1d0370242 100644 --- a/pkg/cmd/workflow/run/run.go +++ b/pkg/cmd/workflow/run/run.go @@ -46,7 +46,7 @@ func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command } cmd := &cobra.Command{ - Use: "run [ | ]", + Use: "run [ | ]", Short: "Run a workflow by creating a workflow_dispatch event", Long: heredoc.Doc(` Create a workflow_dispatch event for a given workflow. diff --git a/pkg/cmd/workflow/view/view.go b/pkg/cmd/workflow/view/view.go index 5cce07991..14ce6c69d 100644 --- a/pkg/cmd/workflow/view/view.go +++ b/pkg/cmd/workflow/view/view.go @@ -40,7 +40,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman } cmd := &cobra.Command{ - Use: "view [ | | ]", + Use: "view [ | | ]", Short: "View the summary of a workflow", Args: cobra.MaximumNArgs(1), Example: heredoc.Doc(`