From 555918b382483b52d342ae2612f7bebffd70bea9 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 5 Mar 2009 15:42:21 +0000
Subject: [PATCH] Update gnt-cluster(8) for be/hyp parameter syntax

Now it displays:

--hypervisor-parameters hypervisor:hv-param=value [ ,hv-param=value ... ]
--backend-parameters be-param=value [ ,be-param=value ... ]

Sorry for the super-long lines :( Is there a better way to insert spaces
without pushing them to the resulting man page?

Reviewed-by: iustinp
---
 man/gnt-cluster.sgml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/man/gnt-cluster.sgml b/man/gnt-cluster.sgml
index 17fc2064d..6c8f4e745 100644
--- a/man/gnt-cluster.sgml
+++ b/man/gnt-cluster.sgml
@@ -229,9 +229,9 @@
         <sbr>
         <arg>-t <replaceable>hypervisor name</replaceable></arg>
         <sbr>
-        <arg>--hypervisor-parameters <replaceable>hv-params</replaceable></arg>
+        <arg>--hypervisor-parameters <replaceable>hypervisor</replaceable>:<replaceable>hv-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>hv-param</replaceable>=<replaceable>value</replaceable></arg></arg>
         <sbr>
-        <arg>--backend-parameters <replaceable>be-params</replaceable></arg>
+        <arg>--backend-parameters <replaceable>be-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>be-param</replaceable>=<replaceable>value</replaceable></arg></arg>
         <sbr>
         <arg choice="req"><replaceable>clustername</replaceable></arg>
       </cmdsynopsis>
@@ -462,11 +462,9 @@
         <arg choice="opt">--enabled-hypervisors
         <replaceable>hypervisors</replaceable></arg>
         <sbr>
-        <arg choice="opt">--hypervisor-parameters
-        <replaceable>hv-params</replaceable></arg>
+        <arg choice="opt">--hypervisor-parameters <replaceable>hypervisor</replaceable>:<replaceable>hv-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>hv-param</replaceable>=<replaceable>value</replaceable></arg></arg>
         <sbr>
-        <arg choice="opt">--backend-parameters
-        <replaceable>be-params</replaceable></arg>
+        <arg choice="opt">--backend-parameters <replaceable>be-param</replaceable>=<replaceable>value</replaceable><arg rep="repeat" choice="opt">,<replaceable>be-param</replaceable>=<replaceable>value</replaceable></arg></arg>
         <sbr>
         <arg>-C <replaceable>candidate_pool_size</replaceable></arg>
 
-- 
GitLab