From: Adrian Moreno <[email protected]>
Sphinx v1.7.6 gives a warning for duplicate command options for
ovs-flowviz.
Warning, treated as error:
/root/ovs/Documentation/ref/ovs-flowviz.8.rst:162
Duplicate explicit target name: "cmdoption-h".
Fix by using the '.. program::' directive for the full sub-command.
Fixes: e532f937f58f ("documentation: Document ovs-flowviz.")
Signed-off-by: Adrian Moreno <[email protected]>
Acked-by: Kevin Traynor <[email protected]>
---
Documentation/ref/ovs-flowviz.8.rst | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/ref/ovs-flowviz.8.rst
b/Documentation/ref/ovs-flowviz.8.rst
index e8d84d995..54adff498 100644
--- a/Documentation/ref/ovs-flowviz.8.rst
+++ b/Documentation/ref/ovs-flowviz.8.rst
@@ -53,5 +53,5 @@ Options
=======
-.. program: ovs-flowviz
+.. program:: ovs-flowviz
.. option:: -h, --help
@@ -152,4 +152,6 @@ option.
Arguments:
+.. program:: ovs-flowviz [datapath|openflow] console
+
.. option:: -h, --heat-map
@@ -202,4 +204,6 @@ A logical block is a set of flows that have:
Arguments:
+.. program:: ovs-flowviz openflow logic
+
.. option:: -s, --show-flows
@@ -278,4 +282,6 @@ same tree-like flow hierarchy that the ``tree`` format
prints.
Arguments:
+.. program:: ovs-flowviz datapath console
+
.. option:: -h, --html
--
2.48.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev