X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-json-parse-man.xml;h=1df0a229cfe9e630b762358ab2035fb7836680f0;hb=31596bdcae098f8acea695d44c44ee5f646b4c1f;hp=ca2bd215a2275bc63fd96fc65b52a9165a77bf20;hpb=a85807bde8a4a08706d266bd7dd089fb6778e281;p=yaz-moved-to-github.git
diff --git a/doc/yaz-json-parse-man.xml b/doc/yaz-json-parse-man.xml
index ca2bd21..1df0a22 100644
--- a/doc/yaz-json-parse-man.xml
+++ b/doc/yaz-json-parse-man.xml
@@ -14,13 +14,13 @@
&version;
Index Data
-
+
yaz-json-parse
1
Commands
-
+
yaz-json-parse
YAZ JSON parser
@@ -32,17 +32,17 @@
-p
-
+
DESCRIPTION
- yaz-json-parse is utility which demonstrates
+ yaz-json-parse is a utility which demonstrates
the JSON API of YAZ. (yaz/json.h).
The program attempts to parse a JSON from standard input (stdin).
It will return exit code 1 if parsing fails and the parsing error message
will be printed to standard error (stderr). The program returns exit code
- 0 parsing succeeds and return no output, unless -p is given (see below).
+ 0 if parsing succeeds, and returns no output unless -p is given (see below).
@@ -51,8 +51,9 @@
-p
- Makes the JSON parser echo the JSON result string to standard output -
- if parsing from stdin was successful.
+ Makes the JSON parser echo the JSON result string to standard output,
+ if parsing from stdin was successful. If -p is given twice, then the
+ output is a multi-line output with indentation (pretty print).
@@ -70,15 +71,7 @@