Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nomad alloc signal help message #10917

Merged
merged 3 commits into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```
6 changes: 3 additions & 3 deletions command/alloc_signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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
lgfa29 marked this conversation as resolved.
Show resolved Hide resolved
and its subtasks. If no task is provided then all of the allocations subtasks
Expand All @@ -35,8 +35,8 @@ Signal Specific Options:
Specify the signal that the selected tasks should receive.

-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