cli: improve job and status text (#18628)

This commit is contained in:
Kevin Wang
2023-10-02 10:31:57 -04:00
committed by GitHub
parent ccafb94645
commit e7b70adc2c
2 changed files with 4 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ type JobStatusCommand struct {
func (c *JobStatusCommand) Help() string {
helpText := `
Usage: nomad status [options] <job>
Usage: nomad job status [options] <job>
Display status information about a job. If no job ID is given, a list of all
known jobs will be displayed.

View File

@@ -27,6 +27,9 @@ Usage: nomad status [options] <identifier>
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) + `