1
0
mirror of synced 2025-12-21 06:17:58 +08:00

Update readme with latest command-line arguments

This commit is contained in:
Zachary Carter
2013-04-02 10:47:25 -07:00
parent fca1f5f846
commit 09c10ae1ac

View File

@@ -22,19 +22,20 @@ jsonlint will either report a syntax error with details or pretty print the sour
$ jsonlint -h $ jsonlint -h
usage: jsonlint <file> [options] Usage: jsonlint [file] [options]
file file to parse; otherwise uses stdin file file to parse; otherwise uses stdin
options: Options:
-v, --version print version and exit -v, --version print version and exit
-s, --sort-keys sort object keys -s, --sort-keys sort object keys
-i, --in-place overwrite the file -i, --in-place overwrite the file
-t CHAR, --indent CHAR character(s) to use for indentation -t CHAR, --indent CHAR character(s) to use for indentation [ ]
-c, --compact compact error display -c, --compact compact error display
-V, --validate a JSON schema to use for validation -V, --validate a JSON schema to use for validation
-e, --environment which specification of JSON Schema the validation file uses -e, --environment which specification of JSON Schema the validation file uses [json-schema-draft-03]
-q, --quiet do not print the parsed json to STDOUT -q, --quiet do not print the parsed json to STDOUT [false]
-p, --pretty-print force pretty printing even if invalid
## Module interface ## Module interface