Merge pull request #1380 from hashicorp/d-hcl-only
Document validate works on HCL only
This commit is contained in:
commit
506ee78a31
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue