diff --git a/command/alloc_fs.go b/command/alloc_fs.go index 85fbf8872..1a59df774 100644 --- a/command/alloc_fs.go +++ b/command/alloc_fs.go @@ -34,6 +34,7 @@ type AllocFSCommand struct { func (f *AllocFSCommand) Help() string { helpText := ` Usage: nomad alloc fs [options] +Alias: nomad fs 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 diff --git a/command/alloc_logs.go b/command/alloc_logs.go index 7ca23dce9..20ad83561 100644 --- a/command/alloc_logs.go +++ b/command/alloc_logs.go @@ -21,6 +21,7 @@ type AllocLogsCommand struct { func (l *AllocLogsCommand) Help() string { helpText := ` Usage: nomad alloc logs [options] +Alias: nomad logs Streams the stdout/stderr of the given allocation and task. diff --git a/command/job_init.go b/command/job_init.go index 6acd342b9..b03ab73b2 100644 --- a/command/job_init.go +++ b/command/job_init.go @@ -22,6 +22,7 @@ type JobInitCommand struct { func (c *JobInitCommand) Help() string { helpText := ` Usage: nomad job init +Alias: nomad init Creates an example job file that can be used as a starting point to customize further. diff --git a/command/job_inspect.go b/command/job_inspect.go index 52efd5457..cf7a0491f 100644 --- a/command/job_inspect.go +++ b/command/job_inspect.go @@ -16,6 +16,7 @@ type JobInspectCommand struct { func (c *JobInspectCommand) Help() string { helpText := ` Usage: nomad job inspect [options] +Alias: nomad inspect Inspect is used to see the specification of a submitted job. diff --git a/command/job_plan.go b/command/job_plan.go index ac1f63b77..ce84b7059 100644 --- a/command/job_plan.go +++ b/command/job_plan.go @@ -30,6 +30,7 @@ type JobPlanCommand struct { func (c *JobPlanCommand) Help() string { helpText := ` Usage: nomad job plan [options] +Alias: nomad plan 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 diff --git a/command/job_validate.go b/command/job_validate.go index ace9aa2dd..950b1e3bb 100644 --- a/command/job_validate.go +++ b/command/job_validate.go @@ -19,6 +19,7 @@ type JobValidateCommand struct { func (c *JobValidateCommand) Help() string { helpText := ` Usage: nomad job validate [options] +Alias: nomad validate 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.