diff --git a/cmd/argo/commands/submit.go b/cmd/argo/commands/submit.go index 73c2d31c4902..d4be35b7828c 100644 --- a/cmd/argo/commands/submit.go +++ b/cmd/argo/commands/submit.go @@ -95,6 +95,7 @@ func NewSubmitCommand() *cobra.Command { command.Flags().BoolVar(&cliSubmitOpts.Watch, "watch", false, "watch the workflow until it completes") command.Flags().BoolVar(&cliSubmitOpts.Log, "log", false, "log the workflow until it completes") command.Flags().BoolVar(&cliSubmitOpts.Strict, "strict", true, "perform strict workflow validation") + command.Flags().BoolVar(&common.NoColor, "no-color", false, "Disable colorized output") command.Flags().Int32Var(&priority, "priority", 0, "workflow priority") command.Flags().StringVar(&from, "from", "", "Submit from an existing `kind/name` E.g., --from=cronwf/hello-world-cwf") command.Flags().StringVar(&cliSubmitOpts.GetArgs.Status, "status", "", "Filter by status (Pending, Running, Succeeded, Skipped, Failed, Error). Should only be used with --watch.") diff --git a/docs/cli/argo_submit.md b/docs/cli/argo_submit.md index 2cc6a625e136..f282b4883a17 100644 --- a/docs/cli/argo_submit.md +++ b/docs/cli/argo_submit.md @@ -46,6 +46,7 @@ argo submit [FILE... | --from `kind/name] [flags] -l, --labels string Comma separated labels to apply to the workflow. Will override previous values. --log log the workflow until it completes --name string override metadata.name + --no-color Disable colorized output --node-field-selector string selector of node to display, eg: --node-field-selector phase=abc -o, --output string Output format. One of: name|json|yaml|wide -p, --parameter stringArray pass an input parameter