Skip to content

Commit

Permalink
docs(cli): a stopped workflow cannot be resumed (#11624)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
agilgur5 committed Sep 1, 2023
1 parent 5d23844 commit 12da114
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/argo/commands/resume.go
Expand Up @@ -21,8 +21,8 @@ func NewResumeCommand() *cobra.Command {

command := &cobra.Command{
Use: "resume WORKFLOW1 WORKFLOW2...",
Short: "resume zero or more workflows",
Example: `# Resume a workflow that has been stopped or suspended:
Short: "resume zero or more workflows (opposite of suspend)",
Example: `# Resume a workflow that has been suspended:
argo resume my-wf
Expand Down
2 changes: 1 addition & 1 deletion cmd/argo/commands/suspend.go
Expand Up @@ -13,7 +13,7 @@ import (
func NewSuspendCommand() *cobra.Command {
command := &cobra.Command{
Use: "suspend WORKFLOW1 WORKFLOW2...",
Short: "suspend zero or more workflow",
Short: "suspend zero or more workflows (opposite of resume)",
Example: `# Suspend a workflow:
argo suspend my-wf
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/argo.md
Expand Up @@ -117,12 +117,12 @@ argo [flags]
* [argo logs](argo_logs.md) - view logs of a pod or workflow
* [argo node](argo_node.md) - perform action on a node in a workflow
* [argo resubmit](argo_resubmit.md) - resubmit one or more workflows
* [argo resume](argo_resume.md) - resume zero or more workflows
* [argo resume](argo_resume.md) - resume zero or more workflows (opposite of suspend)
* [argo retry](argo_retry.md) - retry zero or more workflows
* [argo server](argo_server.md) - start the Argo Server
* [argo stop](argo_stop.md) - stop zero or more workflows allowing all exit handlers to run
* [argo submit](argo_submit.md) - submit a workflow
* [argo suspend](argo_suspend.md) - suspend zero or more workflow
* [argo suspend](argo_suspend.md) - suspend zero or more workflows (opposite of resume)
* [argo template](argo_template.md) - manipulate workflow templates
* [argo terminate](argo_terminate.md) - terminate zero or more workflows immediately
* [argo version](argo_version.md) - print version information
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/argo_resume.md
@@ -1,6 +1,6 @@
## argo resume

resume zero or more workflows
resume zero or more workflows (opposite of suspend)

```
argo resume WORKFLOW1 WORKFLOW2... [flags]
Expand All @@ -9,7 +9,7 @@ argo resume WORKFLOW1 WORKFLOW2... [flags]
### Examples

```
# Resume a workflow that has been stopped or suspended:
# Resume a workflow that has been suspended:
argo resume my-wf
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/argo_suspend.md
@@ -1,6 +1,6 @@
## argo suspend

suspend zero or more workflow
suspend zero or more workflows (opposite of resume)

```
argo suspend WORKFLOW1 WORKFLOW2... [flags]
Expand Down

0 comments on commit 12da114

Please sign in to comment.