Skip to content

Commit

Permalink
fix nomad alloc signal help message (#10917)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Jul 21, 2021
1 parent 10d7501 commit d621759
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/10917.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed the help message for the `nomad alloc signal` command
```
10 changes: 5 additions & 5 deletions command/alloc_signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type AllocSignalCommand struct {

func (a *AllocSignalCommand) Help() string {
helpText := `
Usage: nomad alloc signal [options] <signal> <allocation> <task>
Usage: nomad alloc signal [options] <allocation> <task>
signal an existing allocation. This command is used to signal a specific alloc
Signal an existing allocation. This command is used to signal a specific alloc
and its subtasks. If no task is provided then all of the allocations subtasks
will receive the signal.
Expand All @@ -32,11 +32,11 @@ General Options:
Signal Specific Options:
-s
Specify the signal that the selected tasks should receive.
Specify the signal that the selected tasks should receive. Defaults to SIGKILL.
-task <task-name>
Specify the individual task that will receive the signal. If task name is given
with both an argument and the '-task' option, preference is given to the '-task'
Specify the individual task that will receive the signal. If task name is given
with both an argument and the '-task' option, preference is given to the '-task'
option.
-verbose
Expand Down

0 comments on commit d621759

Please sign in to comment.