Skip to content

Commit

Permalink
docs(cli): clarify stop v. terminate with Long descriptions (#1…
Browse files Browse the repository at this point in the history
…1626)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
agilgur5 authored and terrytangyuan committed Sep 5, 2023
1 parent f3000b9 commit 81ccebd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewStopCommand() *cobra.Command {
command := &cobra.Command{
Use: "stop WORKFLOW WORKFLOW2...",
Short: "stop zero or more workflows allowing all exit handlers to run",
Long: "Stop a workflow but still run exit handlers.",
Example: `# Stop a workflow:
argo stop my-wf
Expand Down
1 change: 1 addition & 0 deletions cmd/argo/commands/terminate.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewTerminateCommand() *cobra.Command {
command := &cobra.Command{
Use: "terminate WORKFLOW WORKFLOW2...",
Short: "terminate zero or more workflows immediately",
Long: "Immediately stop a workflow and do not run any exit handlers.",
Example: `# Terminate a workflow:
argo terminate my-wf
Expand Down
4 changes: 4 additions & 0 deletions docs/cli/argo_stop.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

stop zero or more workflows allowing all exit handlers to run

### Synopsis

Stop a workflow but still run exit handlers.

```
argo stop WORKFLOW WORKFLOW2... [flags]
```
Expand Down
4 changes: 4 additions & 0 deletions docs/cli/argo_terminate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

terminate zero or more workflows immediately

### Synopsis

Immediately stop a workflow and do not run any exit handlers.

```
argo terminate WORKFLOW WORKFLOW2... [flags]
```
Expand Down

0 comments on commit 81ccebd

Please sign in to comment.