From 5129bc284cf2372bfbc87b00d3b9bd1117734c43 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Fri, 23 Dec 2022 15:03:04 +0100 Subject: Add gc subcommand --- src/buildtool/common/cli.hpp | 6 +++++- 1 file changed, 5 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 b9c2feb9..7c2cd65c 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -310,7 +310,7 @@ static inline auto SetupDiagnosticArguments( ->type_name("PATH"); } -static inline auto SetupEndpointArguments( +static inline auto SetupCacheArguments( gsl::not_null const& app, gsl::not_null const& clargs) { app->add_option_function( @@ -321,7 +321,11 @@ static inline auto SetupEndpointArguments( }, "Root for local CAS, cache, and build directories.") ->type_name("PATH"); +} +static inline auto SetupEndpointArguments( + 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.") -- cgit v1.2.3