diff --git a/command/validate.go b/command/validate.go index 56bb166d4..caf3575d5 100644 --- a/command/validate.go +++ b/command/validate.go @@ -15,8 +15,8 @@ func (c *ValidateCommand) Help() string { helpText := ` Usage: nomad validate [options] - Checks if a given job file has a valid specification. This can be used to check - for any syntax errors or validation problems with a job. + 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. ` return strings.TrimSpace(helpText) diff --git a/website/source/docs/commands/validate.html.md.erb b/website/source/docs/commands/validate.html.md.erb index 2c65f8b15..fce0d7030 100644 --- a/website/source/docs/commands/validate.html.md.erb +++ b/website/source/docs/commands/validate.html.md.erb @@ -8,7 +8,7 @@ description: > # Command: validate -The `validate` command is used to check a [job specification](/docs/jobspec/index.html) +The `validate` command is used to check a [HCL job specification](/docs/jobspec/index.html) for any syntax errors or validation problems. ## Usage @@ -18,7 +18,7 @@ nomad validate ``` The validate command requires a single argument, specifying the path to a file -containing a [job specification](/docs/jobspec/index.html). This file +containing a [HCL job specification](/docs/jobspec/index.html). This file will be read and the job checked for any problems. On successful validation, exit code 0 will be returned, otherwise an exit code