Browse Source

ZOOKEEPER-1533 Correct the documentation of the args for the JavaExample doc.
(Warren Turkal via michim)


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1373156 13f79535-47bb-0310-9956-ffa450edef68

Michi Mutsuzaki 13 years ago
parent
commit
5a612b3210
2 changed files with 11 additions and 7 deletions
  1. 3 0
      CHANGES.txt
  2. 8 7
      src/docs/src/documentation/content/xdocs/javaExample.xml

+ 3 - 0
CHANGES.txt

@@ -224,6 +224,9 @@ BUGFIXES:
   ZOOKEEPER-1514. FastLeaderElection - leader ignores the round
   information when joining a quorum (flavio via henryr)
 
+  ZOOKEEPER-1533 Correct the documentation of the args for the JavaExample doc.
+  (Warren Turkal via michim)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

+ 8 - 7
src/docs/src/documentation/content/xdocs/javaExample.xml

@@ -52,13 +52,14 @@
     <para>The client has four requirements:</para>
     
     <itemizedlist><listitem><para>It takes as parameters:</para>
-    	<itemizedlist>
-		<listitem><para>the address of the ZooKeeper service</para></listitem>
-		<listitem> <para>then name of a znode - the one to be watched</para></listitem>
-		<listitem><para>an executable with arguments.</para></listitem></itemizedlist></listitem>
-	<listitem><para>It fetches the data associated with the znode and starts the executable.</para></listitem>
-	<listitem><para>If the znode changes, the client refetches the contents and restarts the executable.</para></listitem>
-	<listitem><para>If the znode disappears, the client kills the executable.</para></listitem></itemizedlist>
+        <itemizedlist>
+        <listitem><para>the address of the ZooKeeper service</para></listitem>
+        <listitem><para>the name of a znode - the one to be watched</para></listitem>
+        <listitem><para>the name of a file to write the output to</para></listitem>
+        <listitem><para>an executable with arguments.</para></listitem></itemizedlist></listitem>
+    <listitem><para>It fetches the data associated with the znode and starts the executable.</para></listitem>
+    <listitem><para>If the znode changes, the client refetches the contents and restarts the executable.</para></listitem>
+    <listitem><para>If the znode disappears, the client kills the executable.</para></listitem></itemizedlist>
 
    </section>