From 09c10ae1acf97d9eb780b29fb1d54dc3c32d2a9a Mon Sep 17 00:00:00 2001 From: Zachary Carter Date: Tue, 2 Apr 2013 10:47:25 -0700 Subject: [PATCH] Update readme with latest command-line arguments --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4fef433..58a1aa1 100644 --- a/README.md +++ b/README.md @@ -22,19 +22,20 @@ jsonlint will either report a syntax error with details or pretty print the sour $ jsonlint -h - usage: jsonlint [options] + Usage: jsonlint [file] [options] file file to parse; otherwise uses stdin - options: + Options: -v, --version print version and exit -s, --sort-keys sort object keys -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 -V, --validate a JSON schema to use for validation - -e, --environment which specification of JSON Schema the validation file uses - -q, --quiet do not print the parsed json to STDOUT + -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 [false] + -p, --pretty-print force pretty printing even if invalid ## Module interface @@ -60,4 +61,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.