mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Return exit code based on validation result
This commit is contained in:
parent
57953e495f
commit
938ceb872a
2 changed files with 20 additions and 0 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
is a tool to validate local advisories files against the JSON Schema and an optional remote validator.
|
||||
|
||||
### Exit codes
|
||||
If no fatal error occurs the program will exit with the following codes:
|
||||
- `0`: all valid
|
||||
- `2⁰`: schema invalid
|
||||
- `2¹`: no remote validator configured
|
||||
- `2²`: failure in remote validation
|
||||
|
||||
### Usage
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue