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 {
|
func (a *AllocSignalCommand) Help() string {
|
||||||
helpText := `
|
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
|
and its subtasks. If no task is provided then all of the allocations subtasks
|
||||||
will receive the signal.
|
will receive the signal.
|
||||||
|
|
||||||
|
@ -32,11 +32,11 @@ General Options:
|
||||||
Signal Specific Options:
|
Signal Specific Options:
|
||||||
|
|
||||||
-s
|
-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>
|
-task <task-name>
|
||||||
Specify the individual task that will receive the signal. If task name is given
|
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'
|
with both an argument and the '-task' option, preference is given to the '-task'
|
||||||
option.
|
option.
|
||||||
|
|
||||||
-verbose
|
-verbose
|
||||||
|
|
Loading…
Reference in New Issue