Merge pull request #1380 from hashicorp/d-hcl-only

Document validate works on HCL only
This commit is contained in:
Alex Dadgar 2016-07-01 11:54:38 -07:00 committed by GitHub
commit 506ee78a31
2 changed files with 4 additions and 4 deletions

View file

@ -15,8 +15,8 @@ func (c *ValidateCommand) Help() string {
helpText := `
Usage: nomad validate [options] <file>
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)

View file

@ -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 <file>
```
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