# HG changeset patch # User Rok Strnisa # Date 1283853673 -3600 # Node ID d76f426996378a309d3441831e8c460a33675794 # Parent 04183bbb37a3b8aee0694b0675f20663f00cb2d4 [mq]: CA-30239-CLI-help-command-returns-non-zero diff --git a/ocaml/xapi/xapi_cli.ml b/ocaml/xapi/xapi_cli.ml --- 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