From 934b3a7325732dd74a79f5df8438450433e7e54f Mon Sep 17 00:00:00 2001 From: Ali Caglayan Date: Fri, 9 Jun 2023 16:11:52 +0200 Subject: [PATCH] describe: add --lang back into external_lib_deps for backcompat Signed-off-by: Ali Caglayan --- bin/describe/describe_external_lib_deps.ml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/describe/describe_external_lib_deps.ml b/bin/describe/describe_external_lib_deps.ml index 4d7f24170898..43e553ae0a26 100644 --- a/bin/describe/describe_external_lib_deps.ml +++ b/bin/describe/describe_external_lib_deps.ml @@ -160,6 +160,14 @@ let to_dyn context_name external_resolved_libs = let term = let+ common = Common.term and+ context_name = Common.context_arg ~doc:"Build context to use." + and+ _ = + Arg.( + value + & opt (some string) None + & info [ "lang" ] ~docv:"VERSION" + ~doc: + "This argument has no effect and is deprecated. It exists solely \ + for backwards compatibility.") and+ format = Describe_format.arg in let config = Common.init common in Scheduler.go ~common ~config @@ fun () ->