From: Rok Strnisa Date: Tue, 12 Oct 2010 09:44:20 +0000 (+0100) Subject: CA-30239: CLI help command returns non-zero --- FIXED. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=34ef3ebaa6a7c9623726fe363f4e3cc77cc45233;p=xcp%2Fxen-api.git CA-30239: CLI help command returns non-zero --- FIXED. Signed-off-by: Rok Strnisa --- diff --git a/ocaml/xapi/xapi_cli.ml b/ocaml/xapi/xapi_cli.ml index 03d64611..7f7b1688 100644 --- a/ocaml/xapi/xapi_cli.ml +++ b/ocaml/xapi/xapi_cli.ml @@ -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