Skip to content

Commit 3828755

Browse files
author
yassh
committed
Adding in the -n/--insert-final-newline option to the Readme.md
1 parent 9f7b728 commit 3828755

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ jsonlint will either report a syntax error with details or pretty print the sour
2727
file file to parse; otherwise uses stdin
2828

2929
Options:
30-
-v, --version print version and exit
31-
-s, --sort-keys sort object keys
32-
-i, --in-place overwrite the file
33-
-t CHAR, --indent CHAR character(s) to use for indentation [ ]
34-
-c, --compact compact error display
35-
-V, --validate a JSON schema to use for validation
36-
-e, --environment which specification of JSON Schema the validation file uses [json-schema-draft-03]
37-
-q, --quiet do not print the parsed json to STDOUT [false]
38-
-p, --pretty-print force pretty printing even if invalid
30+
-v, --version print version and exit
31+
-s, --sort-keys sort object keys
32+
-i, --in-place overwrite the file
33+
-t CHAR, --indent CHAR character(s) to use for indentation [ ]
34+
-n, --insert-final-newline ensure JSON string ends with a newline
35+
-c, --compact compact error display
36+
-V, --validate a JSON schema to use for validation
37+
-e, --environment which specification of JSON Schema the validation file uses [json-schema-draft-03]
38+
-q, --quiet do not print the parsed json to STDOUT [false]
39+
-p, --pretty-print force pretty printing even if invalid
3940

4041

4142
## Module interface

0 commit comments

Comments
 (0)