diff --git a/command/job_status.go b/command/job_status.go index 899a5de4c..e897bc1ab 100644 --- a/command/job_status.go +++ b/command/job_status.go @@ -30,7 +30,7 @@ type JobStatusCommand struct { func (c *JobStatusCommand) Help() string { helpText := ` -Usage: nomad status [options] +Usage: nomad job status [options] Display status information about a job. If no job ID is given, a list of all known jobs will be displayed. diff --git a/command/status.go b/command/status.go index 012d1d262..d91f75a2b 100644 --- a/command/status.go +++ b/command/status.go @@ -27,6 +27,9 @@ Usage: nomad status [options] detect the type of resource being queried and display the appropriate status output. + If no arguments are provided, the command will fallback to "nomad job status", + which will list all jobs. + General Options: ` + generalOptionsUsage(usageOptsDefault) + `