More_cli.ExitProgram exits.
FIXME review that.
Support for More.Os.Exit exits which are more evolved than those provided by cmdliner.
infos has the infos of Cmdliner.Term.default_exits, no_such_name, some_error and those above.
FIXME I think this can be removed.
val of_eval_result :
?term_error:More.Os.Exit.t ->
(More.Os.Exit.t Cmdliner.Cmd.eval_ok, Cmdliner.Cmd.eval_error) Stdlib.result ->
More.Os.Exit.tof_eval_result ~term_error r is:
e if r is Ok (`Ok e)ok if r is Ok _Os.Exit.Code Cmdliner.Exit.cli_error if r is Error `Parse.Os.Exit.Code Cmdliner.Exit.internal_error if r is Error `Exn.Os.Exit.code term_error if r is Error `Term. term_error (defaults to Os.Exit.Code Cmdliner.Exit.cli_error).