]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
CA-30239: CLI help command returns non-zero --- FIXED.
authorRok Strnisa <rok.strnisa@citrix.com>
Tue, 12 Oct 2010 09:44:20 +0000 (10:44 +0100)
committerRok Strnisa <rok.strnisa@citrix.com>
Tue, 12 Oct 2010 09:44:20 +0000 (10:44 +0100)
Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
ocaml/xapi/xapi_cli.ml

index 03d64611a4e61d758fcc2a0915f5efd17554d720..7f7b16886d1b53055c3f36c6141b2625e9847fff 100644 (file)
@@ -141,7 +141,7 @@ let do_help is_compat cmd minimal s =
   let (printer,flush)=Cli_printer.make_printer is_compat s minimal in
   cmd_help printer minimal is_compat cmd;
   flush ();
-  marshal s (Command (Exit 1))
+  marshal s (Command (Exit 0))
 
 let exec_command req is_compat cmd s session args =
   let params = get_params cmd in