···413413 let subcmds c = c.subcmds
414414 let kind c = c.kind
415415end
416416+417417+(* Terms *)
418418+419419+module Term = struct
420420+ type escape =
421421+ [ `Error of bool * string
422422+ | `Help of Cmdliner_manpage.format * string option ]
423423+424424+ type 'a parser =
425425+ Eval.t -> Cline.t -> ('a, [ `Parse of string | escape ]) result
426426+427427+ type 'a t = Arg.Set.t * 'a parser
428428+end
+13
vendor/opam/cmdliner/src/cmdliner_info.mli
···256256 val subcmds : t -> bool
257257 val kind : t -> kind
258258end
259259+260260+(** Terms, typed cli fragment definitions. *)
261261+module Term : sig
262262+263263+ type escape =
264264+ [ `Error of bool * string
265265+ | `Help of Cmdliner_manpage.format * string option ]
266266+267267+ type 'a parser =
268268+ Eval.t -> Cline.t -> ('a, [ `Parse of string | escape ]) result
269269+270270+ type 'a t = Arg.Set.t * 'a parser
271271+end
+3-3
vendor/opam/cmdliner/src/cmdliner_term.ml
···33 SPDX-License-Identifier: ISC
44 ---------------------------------------------------------------------------*)
5566-type term_escape = Cmdliner_cline.term_escape
77-type 'a parser = 'a Cmdliner_cline.parser
88-type +'a t = 'a Cmdliner_cline.term
66+type term_escape = Cmdliner_info.Term.escape
77+type 'a parser = 'a Cmdliner_info.Term.parser
88+type +'a t = 'a Cmdliner_info.Term.t
991010let make args p = (args, p)
1111let argset (args, _) = args