diff --git a/src/client/opamArg.mli b/src/client/opamArg.mli index 9b205ee31a2..3c47a8b0057 100644 --- a/src/client/opamArg.mli +++ b/src/client/opamArg.mli @@ -25,6 +25,7 @@ val cli2_0: OpamCLIVersion.t val cli2_1: OpamCLIVersion.t val cli2_2: OpamCLIVersion.t val cli2_3: OpamCLIVersion.t +val cli2_4: OpamCLIVersion.t (* [cli_from ?platform ?experimental since] validity flag since [since], and no removal version. If [experimental] is true, it is marked as is (warning and diff --git a/src/client/opamArgTools.ml b/src/client/opamArgTools.ml index 41eaec82593..6915a8679c1 100644 --- a/src/client/opamArgTools.ml +++ b/src/client/opamArgTools.ml @@ -16,6 +16,7 @@ let cli2_0 = OpamCLIVersion.of_string "2.0" let cli2_1 = OpamCLIVersion.of_string "2.1" let cli2_2 = OpamCLIVersion.of_string "2.2" let cli2_3 = OpamCLIVersion.of_string "2.3" +let cli2_4 = OpamCLIVersion.of_string "2.4" type subplatform = [ `windows | `unix ] type platform = [ `all | subplatform ] diff --git a/src/client/opamArgTools.mli b/src/client/opamArgTools.mli index 6b8a093247f..95dfbd817be 100644 --- a/src/client/opamArgTools.mli +++ b/src/client/opamArgTools.mli @@ -29,6 +29,7 @@ val cli2_0: OpamCLIVersion.t val cli2_1: OpamCLIVersion.t val cli2_2: OpamCLIVersion.t val cli2_3: OpamCLIVersion.t +val cli2_4: OpamCLIVersion.t val mk_flag: cli:OpamCLIVersion.Sourced.t -> validity -> section:string -> string list ->