From cbc46ba428500ac514ae26d5d3c1da6c9cb3c521 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 1 Feb 2024 15:28:19 +0100 Subject: 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. --- src/buildtool/main/cli.cpp | 3 +++ src/other_tools/just_mr/utils.hpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 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}}, -- cgit v1.2.3