fix `nomad alloc signal` help message (#10917)
This commit is contained in:
parent
a26874215a
commit
484037aff1
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
cli: Fixed the help message for the `nomad alloc signal` command
|
||||
```
|
|
@ -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.
|
||||
|
||||
|
@ -32,7 +32,7 @@ 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
|
||||
|
|
Loading…
Reference in New Issue