From cf279f03edfa05dbe5e4ba7fc1eb0518249ccdfc Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 27 Jun 2012 21:56:11 -0700 Subject: [PATCH] Correct a wrong --help option for --simulate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was not update when the alloc policy was added to the parameter. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- htools/Ganeti/HTools/CLI.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htools/Ganeti/HTools/CLI.hs b/htools/Ganeti/HTools/CLI.hs index a3b9a0c6e..4636fd7a0 100644 --- a/htools/Ganeti/HTools/CLI.hs +++ b/htools/Ganeti/HTools/CLI.hs @@ -363,7 +363,8 @@ oNoSimulation = Option "" ["no-simulation"] oNodeSim :: OptType oNodeSim = Option "" ["simulate"] (ReqArg (\ f o -> Ok o { optNodeSim = f:optNodeSim o }) "SPEC") - "simulate an empty cluster, given as 'num_nodes,disk,ram,cpu'" + "simulate an empty cluster, given as\ + \ 'alloc_policy,num_nodes,disk,ram,cpu'" oOfflineNode :: OptType oOfflineNode = Option "O" ["offline"] -- GitLab