update README
This commit is contained in:
parent
6d33cf285e
commit
94b2373222
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
@ -4,5 +4,15 @@ Validate markdown frontmatter using [JSON Schemas](https://json-schema.org)
|
|||
|
||||
## Usage
|
||||
```shell
|
||||
$ mdlint [OPTION] <SchemaFile> <MarkdownFile>
|
||||
```
|
||||
$ mdlint [OPTIONS] <SchemaFile> <MarkdownFile>
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Description |
|
||||
| ---------------------------------- | ------------------------------------------------------------------------------------- |
|
||||
| `-g, --greedy` | Require all properties to be present even if they are not strictly required in schema |
|
||||
| `-e, --empty-frontmatter` | Treat missing frontmatter as empty frontmatter |
|
||||
| `-i, --ignore-missing-frontmatter` | Dont print an error when no frontmatter has been found |
|
||||
| `-h, --help` | Print help |
|
||||
| `-V, --version` | Print version |
|
Loading…
Reference in a new issue