From 2fa19d98f7e4024da9dc6c9bb8f0071f966c3ae7 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 14 Apr 2023 12:20:55 +0200 Subject: just-mr support -D option Make just-mr unconditionally support an option -D that collects a configuration overlay and forwards it to the invocation of a just subcommand that supports this option. This syntax-switching facility makes it easy to embedd dynamic parts of the configuration (like the head commit to be part of a version string) as those information can unconditionally be the first argument to just-mr. --- share/man/just-mr.1.org | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'share') diff --git a/share/man/just-mr.1.org b/share/man/just-mr.1.org index e641285d..8b109f1b 100644 --- a/share/man/just-mr.1.org +++ b/share/man/just-mr.1.org @@ -42,6 +42,14 @@ See *just-mr-repository-config(5)* for more details on the input format. The default configuration lookup order can be adjusted in the just-mrrc file. See *just-mrrc(5)* for more details. + *-D*, *--defines* JSON\\ + Defines, via an in-line JSON object, an overlay configuration + for *just(1)*; if used as a launcher for a subcommand known + to support *--defines*, this defines value is forwarded, + otherwise it is ignored. If *-D* is given several times, + the *-D* options overlay (in the sense of ~map_union~) in + the order they are given on the command line. + *--local-build-root* PATH\\ Root for local CAS, cache, and build directories. The path will be created if it does not exist already. This option overwrites any values set -- cgit v1.2.3