summaryrefslogtreecommitdiff
path: root/src/buildtool/main/cli.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-02-01 14:17:24 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-02-01 14:44:58 +0100
commit154aa03ff485d821be515f84431bc220e0144694 (patch)
tree9719046e7d033353f74a3b02255a34204597761b /src/buildtool/main/cli.cpp
parent8772b205b30913403af5be12e8913a8b18a10a05 (diff)
downloadjustbuild-154aa03ff485d821be515f84431bc220e0144694.tar.gz
describe: accept local-build-root
... as even this command now adds entries to CAS, e.g., the shard for the target-level cache. Also, this command block gc by keeping a lock (also in the local build root).
Diffstat (limited to 'src/buildtool/main/cli.cpp')
-rw-r--r--src/buildtool/main/cli.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildtool/main/cli.cpp b/src/buildtool/main/cli.cpp
index 19b965dd..b1b2f32f 100644
--- a/src/buildtool/main/cli.cpp
+++ b/src/buildtool/main/cli.cpp
@@ -24,6 +24,7 @@ auto SetupDescribeCommandArguments(
gsl::not_null<CLI::App*> const& app,
gsl::not_null<CommandLineArguments*> const& clargs) {
SetupCommonArguments(app, &clargs->common);
+ SetupCacheArguments(app, &clargs->endpoint);
SetupAnalysisArguments(app, &clargs->analysis, false);
SetupLogArguments(app, &clargs->log);
SetupDescribeArguments(app, &clargs->describe);