[ovs-dev] [PATCH ovn 1/4] ovn-nbctl.8.xml: Fix section OVN_NBCTL_OPTIONS.

Han Zhou hzhou at ovn.org
Tue Sep 1 23:26:42 UTC 2020


The section was placed at wrong postion. This patch fixes it.

Signed-off-by: Han Zhou <hzhou at ovn.org>
---
 utilities/ovn-nbctl.8.xml | 53 +++++++++++++++++++++++++----------------------
 1 file changed, 28 insertions(+), 25 deletions(-)

diff --git a/utilities/ovn-nbctl.8.xml b/utilities/ovn-nbctl.8.xml
index 18bf90e..07447d2 100644
--- a/utilities/ovn-nbctl.8.xml
+++ b/utilities/ovn-nbctl.8.xml
@@ -1320,31 +1320,6 @@
           wait at all.  Use the <code>sync</code> command to override this
           behavior.
         </p>
-
-        <p>
-          User can set one or more <env>OVN_NBCTL_OPTIONS</env> options in
-          environment variable. Under the Bourne shell this might be
-          done like this:
-        </p>
-
-        <pre fixed="yes">
-          OVN_NBCTL_OPTIONS="--db=unix:nb1.ovsdb --no-leader-only"
-        </pre>
-
-        <p>
-          When <env>OVN_NBCTL_OPTIONS</env> is set, <code>ovn-nbctl</code>
-          automatically and transparently uses the environment variable to
-          execute its commands. However user can still over-ride environment
-          options by passing different in cli.
-        </p>
-
-        <p>
-          When the environment variable is no longer needed, unset it, e.g.:
-        </p>
-
-        <pre fixed="yes">
-          unset OVN_NBCTL_OPTIONS
-        </pre>
       </dd>
 
     <dt><code>--db</code> <var>database</var></dt>
@@ -1387,6 +1362,34 @@
       connection string to connect.  This allows user to specify the
       preferred order, which is particularly useful for testing.
     </dd>
+
+    <dt><code>OVN_NBCTL_OPTIONS</code></dt>
+    <dd>
+        <p>
+          User can set one or more <env>OVN_NBCTL_OPTIONS</env> options in
+          environment variable. Under the Bourne shell this might be
+          done like this:
+        </p>
+
+        <pre fixed="yes">
+          OVN_NBCTL_OPTIONS="--db=unix:nb1.ovsdb --no-leader-only"
+        </pre>
+
+        <p>
+          When <env>OVN_NBCTL_OPTIONS</env> is set, <code>ovn-nbctl</code>
+          automatically and transparently uses the environment variable to
+          execute its commands. However user can still over-ride environment
+          options by passing different in cli.
+        </p>
+
+        <p>
+          When the environment variable is no longer needed, unset it, e.g.:
+        </p>
+
+        <pre fixed="yes">
+          unset OVN_NBCTL_OPTIONS
+        </pre>
+    </dd>
     </dl>
 
     <h2>Daemon Options</h2>
-- 
2.1.0



More information about the dev mailing list