Fix inconsistencies in usage cli output.

This commit is contained in:
Cameron Stokes 2016-12-24 12:39:33 -08:00
parent 4a9a574d9d
commit 249fd8bf42
6 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@ type AgentCheckCommand struct {
func (c *AgentCheckCommand) Help() string {
helpText := `
Usage: nomad check
Usage: nomad check [options]
Display state of the Nomad agent. The exit code of the command is Nagios
compatible and could be used with alerting systems.

View File

@ -14,7 +14,7 @@ type EvalStatusCommand struct {
func (c *EvalStatusCommand) Help() string {
helpText := `
Usage: nomad eval-status [options] <evaluation-id>
Usage: nomad eval-status [options] <evaluation>
Display information about evaluations. This command can be used to inspect the
current status of an evaluation as well as determine the reason an evaluation

View File

@ -31,7 +31,7 @@ type FSCommand struct {
func (f *FSCommand) Help() string {
helpText := `
Usage: nomad fs <alloc-id> <path>
Usage: nomad fs [options] <allocation> <path>
fs displays either the contents of an allocation directory for the passed allocation,
or displays the file at the given path. The path is relative to the root of the alloc

View File

@ -18,7 +18,7 @@ type LogsCommand struct {
func (l *LogsCommand) Help() string {
helpText := `
Usage: nomad logs [options] <alloc-id> <task>
Usage: nomad logs [options] <allocation> <task>
Streams the stdout/stderr of the given allocation and task.

View File

@ -31,7 +31,7 @@ type PlanCommand struct {
func (c *PlanCommand) Help() string {
helpText := `
Usage: nomad plan [options] <file>
Usage: nomad plan [options] <path>
Plan invokes a dry-run of the scheduler to determine the effects of submitting
either a new or updated version of a job. The plan will not result in any

View File

@ -12,7 +12,7 @@ type ValidateCommand struct {
func (c *ValidateCommand) Help() string {
helpText := `
Usage: nomad validate [options] <file>
Usage: nomad validate [options] <path>
Checks if a given HCL job file has a valid specification. This can be used to
check for any syntax errors or validation problems with a job.