summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-02-01 15:28:19 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-02-01 15:45:03 +0100
commitcbc46ba428500ac514ae26d5d3c1da6c9cb3c521 (patch)
tree97cf17f267eae775cb751981f69bddcd09ee60ab /src
parent154aa03ff485d821be515f84431bc220e0144694 (diff)
downloadjustbuild-cbc46ba428500ac514ae26d5d3c1da6c9cb3c521.tar.gz
describe: support -R
... as, for absent repositories, we need to get the description from the serve end point. As a consequence, also support -r and --compatible, as the remote-execution endpoint needs to fit with the one for the serve endpoint.
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/main/cli.cpp3
-rw-r--r--src/other_tools/just_mr/utils.hpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/buildtool/main/cli.cpp b/src/buildtool/main/cli.cpp
index b1b2f32f..c4e51189 100644
--- a/src/buildtool/main/cli.cpp
+++ b/src/buildtool/main/cli.cpp
@@ -27,6 +27,9 @@ auto SetupDescribeCommandArguments(
SetupCacheArguments(app, &clargs->endpoint);
SetupAnalysisArguments(app, &clargs->analysis, false);
SetupLogArguments(app, &clargs->log);
+ SetupServeEndpointArguments(app, &clargs->serve);
+ SetupExecutionEndpointArguments(app, &clargs->endpoint);
+ SetupCompatibilityArguments(app);
SetupDescribeArguments(app, &clargs->describe);
}
diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp
index 7928a7a8..a2966e20 100644
--- a/src/other_tools/just_mr/utils.hpp
+++ b/src/other_tools/just_mr/utils.hpp
@@ -75,9 +75,9 @@ std::map<std::string, JustSubCmdFlags> const kKnownJustSubcommands{
.build_root = true,
.launch = false,
.defines = true,
- .remote = false,
+ .remote = true,
.remote_props = false,
- .serve = false,
+ .serve = true,
.dispatch = false,
.cacert = false,
.client_auth = false}},