From c9149af8acfe9f016aff783f453e930809a16b95 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 6 Dec 2023 16:22:56 +0100 Subject: install-cas cli: Remove remote execution properties and dispatch file... ...options from the generated help messages, as these are not used for the install-cas subcommand. This also updates the man page accordingly, where the dispatch file was marked as supported, as well as update any test affected by these changes. --- src/buildtool/common/cli.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/buildtool/common/cli.hpp') diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp index 9c2bc7e2..e6189880 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -389,13 +389,18 @@ static inline auto SetupCacheArguments( ->type_name("PATH"); } -static inline auto SetupEndpointArguments( +static inline auto SetupExecutionEndpointArguments( gsl::not_null const& app, gsl::not_null const& clargs) { app->add_option("-r,--remote-execution-address", clargs->remote_execution_address, "Address of the remote-execution service.") ->type_name("NAME:PORT"); +} + +static inline auto SetupExecutionPropertiesArguments( + gsl::not_null const& app, + gsl::not_null const& clargs) { app->add_option("--endpoint-configuration", clargs->remote_execution_dispatch_file, "File with dispatch instructions to use different " -- cgit v1.2.3