Skip to content

Commit ba41a3b

Browse files
shota3506github-actions[bot]
authored andcommitted
fix: typo paramaters to parameters in cli help text (#14939)
Signed-off-by: shota3506 <[email protected]>
1 parent 691fcf6 commit ba41a3b

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

cmd/argo/commands/archive/retry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func NewRetryCommand() *cobra.Command {
9797
command.Flags().BoolVar(&cliSubmitOpts.Watch, "watch", false, "watch the workflow until it completes, only works when a single workflow is retried")
9898
command.Flags().BoolVar(&cliSubmitOpts.Log, "log", false, "log the workflow until it completes")
9999
command.Flags().BoolVar(&retryOpts.restartSuccessful, "restart-successful", false, "indicates to restart successful nodes matching the --node-field-selector")
100-
command.Flags().StringVar(&retryOpts.nodeFieldSelector, "node-field-selector", "", "selector of nodes to reset, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
100+
command.Flags().StringVar(&retryOpts.nodeFieldSelector, "node-field-selector", "", "selector of nodes to reset, eg: --node-field-selector inputs.parameters.myparam.value=abc")
101101
command.Flags().StringVarP(&retryOpts.labelSelector, "selector", "l", "", "Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
102102
command.Flags().StringVar(&retryOpts.fieldSelector, "field-selector", "", "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.")
103103
return command

cmd/argo/commands/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func NewNodeCommand() *cobra.Command {
8888
return nil
8989
},
9090
}
91-
command.Flags().StringVar(&setArgs.nodeFieldSelector, "node-field-selector", "", "Selector of node to set, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
91+
command.Flags().StringVar(&setArgs.nodeFieldSelector, "node-field-selector", "", "Selector of node to set, eg: --node-field-selector inputs.parameters.myparam.value=abc")
9292
command.Flags().StringVar(&setArgs.phase, "phase", "", "Phase to set the node to, eg: --phase Succeeded")
9393
command.Flags().StringArrayVarP(&setArgs.outputParameters, "output-parameter", "p", []string{}, "Set a \"supplied\" output parameter of node, eg: --output-parameter parameter-name=\"Hello, world!\"")
9494
command.Flags().StringVarP(&setArgs.message, "message", "m", "", "Set the message of a node, eg: --message \"Hello, world!\"")

cmd/argo/commands/resume.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func NewResumeCommand() *cobra.Command {
3535
3636
# Resume multiple workflows by node field selector:
3737
38-
argo resume --node-field-selector inputs.paramaters.myparam.value=abc
38+
argo resume --node-field-selector inputs.parameters.myparam.value=abc
3939
`,
4040
Args: func(cmd *cobra.Command, args []string) error {
4141
if len(args) == 0 && resumeArgs.nodeFieldSelector == "" {
@@ -70,6 +70,6 @@ func NewResumeCommand() *cobra.Command {
7070
return nil
7171
},
7272
}
73-
command.Flags().StringVar(&resumeArgs.nodeFieldSelector, "node-field-selector", "", "selector of node to resume, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
73+
command.Flags().StringVar(&resumeArgs.nodeFieldSelector, "node-field-selector", "", "selector of node to resume, eg: --node-field-selector inputs.parameters.myparam.value=abc")
7474
return command
7575
}

cmd/argo/commands/retry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func NewRetryCommand() *cobra.Command {
9898
command.Flags().BoolVar(&cliSubmitOpts.Watch, "watch", false, "watch the workflow until it completes, only works when a single workflow is retried")
9999
command.Flags().BoolVar(&cliSubmitOpts.Log, "log", false, "log the workflow until it completes")
100100
command.Flags().BoolVar(&retryOpts.restartSuccessful, "restart-successful", false, "indicates to restart successful nodes matching the --node-field-selector")
101-
command.Flags().StringVar(&retryOpts.nodeFieldSelector, "node-field-selector", "", "selector of nodes to reset, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
101+
command.Flags().StringVar(&retryOpts.nodeFieldSelector, "node-field-selector", "", "selector of nodes to reset, eg: --node-field-selector inputs.parameters.myparam.value=abc")
102102
command.Flags().StringVarP(&retryOpts.labelSelector, "selector", "l", "", "Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
103103
command.Flags().StringVar(&retryOpts.fieldSelector, "field-selector", "", "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.")
104104
return command

cmd/argo/commands/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func NewStopCommand() *cobra.Command {
7272
},
7373
}
7474
command.Flags().StringVar(&stopArgs.message, "message", "", "Message to add to previously running nodes")
75-
command.Flags().StringVar(&stopArgs.nodeFieldSelector, "node-field-selector", "", "selector of node to stop, eg: --node-field-selector inputs.paramaters.myparam.value=abc")
75+
command.Flags().StringVar(&stopArgs.nodeFieldSelector, "node-field-selector", "", "selector of node to stop, eg: --node-field-selector inputs.parameters.myparam.value=abc")
7676
command.Flags().StringVarP(&stopArgs.labelSelector, "selector", "l", "", "Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
7777
command.Flags().StringVar(&stopArgs.fieldSelector, "field-selector", "", "Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.")
7878
command.Flags().BoolVar(&stopArgs.dryRun, "dry-run", false, "If true, only print the workflows that would be stopped, without stopping them.")

docs/cli/argo_archive_retry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ argo archive retry [WORKFLOW...] [flags]
4545
--field-selector string Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.
4646
-h, --help help for retry
4747
--log log the workflow until it completes
48-
--node-field-selector string selector of nodes to reset, eg: --node-field-selector inputs.paramaters.myparam.value=abc
48+
--node-field-selector string selector of nodes to reset, eg: --node-field-selector inputs.parameters.myparam.value=abc
4949
-o, --output string Output format. One of: name|json|yaml|wide
5050
-p, --parameter stringArray input parameter to override on the original workflow spec
5151
--restart-successful indicates to restart successful nodes matching the --node-field-selector

docs/cli/argo_node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ argo node ACTION WORKFLOW FLAGS [flags]
2424
```
2525
-h, --help help for node
2626
-m, --message string Set the message of a node, eg: --message "Hello, world!"
27-
--node-field-selector string Selector of node to set, eg: --node-field-selector inputs.paramaters.myparam.value=abc
27+
--node-field-selector string Selector of node to set, eg: --node-field-selector inputs.parameters.myparam.value=abc
2828
-p, --output-parameter stringArray Set a "supplied" output parameter of node, eg: --output-parameter parameter-name="Hello, world!"
2929
--phase string Phase to set the node to, eg: --phase Succeeded
3030
```

docs/cli/argo_resume.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ argo resume WORKFLOW1 WORKFLOW2... [flags]
2323
2424
# Resume multiple workflows by node field selector:
2525
26-
argo resume --node-field-selector inputs.paramaters.myparam.value=abc
26+
argo resume --node-field-selector inputs.parameters.myparam.value=abc
2727
2828
```
2929

3030
### Options
3131

3232
```
3333
-h, --help help for resume
34-
--node-field-selector string selector of node to resume, eg: --node-field-selector inputs.paramaters.myparam.value=abc
34+
--node-field-selector string selector of node to resume, eg: --node-field-selector inputs.parameters.myparam.value=abc
3535
```
3636

3737
### Options inherited from parent commands

docs/cli/argo_retry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ argo retry [WORKFLOW...] [flags]
5656
--field-selector string Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.
5757
-h, --help help for retry
5858
--log log the workflow until it completes
59-
--node-field-selector string selector of nodes to reset, eg: --node-field-selector inputs.paramaters.myparam.value=abc
59+
--node-field-selector string selector of nodes to reset, eg: --node-field-selector inputs.parameters.myparam.value=abc
6060
-o, --output string Output format. One of: name|json|yaml|wide
6161
-p, --parameter stringArray input parameter to override on the original workflow spec
6262
--restart-successful indicates to restart successful nodes matching the --node-field-selector

docs/cli/argo_stop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ argo stop WORKFLOW WORKFLOW2... [flags]
3838
--field-selector string Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.
3939
-h, --help help for stop
4040
--message string Message to add to previously running nodes
41-
--node-field-selector string selector of node to stop, eg: --node-field-selector inputs.paramaters.myparam.value=abc
41+
--node-field-selector string selector of node to stop, eg: --node-field-selector inputs.parameters.myparam.value=abc
4242
-l, --selector string Selector (label query) to filter on, not including uninitialized ones, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
4343
```
4444

0 commit comments

Comments
 (0)