Remove <info> from ref entry header
[yaz-moved-to-github.git] / doc / yaz-json-parse-man.xml
index ca2bd21..8996c97 100644 (file)
  <refentryinfo>
   <productname>YAZ</productname>
   <productnumber>&version;</productnumber>
-  <info><orgname>Index Data</orgname></info>
+  <orgname>Index Data</orgname>
  </refentryinfo>
+
  <refmeta>
   <refentrytitle>yaz-json-parse</refentrytitle>
   <manvolnum>1</manvolnum>
   <refmiscinfo class="manual">Commands</refmiscinfo>
  </refmeta>
+
  <refnamediv>
   <refname>yaz-json-parse</refname>
   <refpurpose>YAZ JSON parser</refpurpose>
    <arg>-p</arg>
   </cmdsynopsis>
  </refsynopsisdiv>
+
  <refsect1><title>DESCRIPTION</title>
   <para>
-   <command>yaz-json-parse</command> is utility which demonstrates 
+   <command>yaz-json-parse</command> is a utility which demonstrates
    the JSON API of YAZ. (<filename>yaz/json.h</filename>).
   </para>
   <para>
    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).
   </para>
  </refsect1>
 
@@ -51,8 +51,9 @@
    <varlistentry>
     <term>-p</term>
     <listitem><para>
-      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).
      </para></listitem>
    </varlistentry>
 
 
 <!-- Keep this comment at the end of the file
 Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-local-catalogs: nil
-sgml-namecase-general:t
+mode: nxml
+nxml-child-indent: 1
 End:
 -->