X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=doc%2Fyaz-json-parse-man.xml;h=8996c97380f628be9b7c8f317cdd77727e705c33;hb=refs%2Fheads%2Fmaster;hp=20af868d1333ab1e18e0688da3f026feef44f0cc;hpb=4bd71a8e6144a4f1778e10311c407c66ab462c7c;p=yaz-moved-to-github.git
diff --git a/doc/yaz-json-parse-man.xml b/doc/yaz-json-parse-man.xml
index 20af868..8996c97 100644
--- a/doc/yaz-json-parse-man.xml
+++ b/doc/yaz-json-parse-man.xml
@@ -1,5 +1,5 @@
-
%local;
@@ -12,13 +12,15 @@
YAZ
&version;
+ Index Data
-
+
yaz-json-parse
1
+ Commands
-
+
yaz-json-parse
YAZ JSON parser
@@ -30,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).
@@ -49,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).
@@ -68,15 +71,7 @@