summaryrefslogtreecommitdiff
path: root/src/buildtool/common/cli.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-06 16:22:56 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-06 16:47:37 +0100
commitc9149af8acfe9f016aff783f453e930809a16b95 (patch)
treed70a9f8e0f8f264b6c9e426c96d9e814ce354125 /src/buildtool/common/cli.hpp
parent8739f2bb6e07321c4e92e5610f92785cae950ff7 (diff)
downloadjustbuild-c9149af8acfe9f016aff783f453e930809a16b95.tar.gz
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.
Diffstat (limited to 'src/buildtool/common/cli.hpp')
-rw-r--r--src/buildtool/common/cli.hpp7
1 files changed, 6 insertions, 1 deletions
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<CLI::App*> const& app,
gsl::not_null<EndpointArguments*> 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<CLI::App*> const& app,
+ gsl::not_null<EndpointArguments*> const& clargs) {
app->add_option("--endpoint-configuration",
clargs->remote_execution_dispatch_file,
"File with dispatch instructions to use different "