summaryrefslogtreecommitdiff
path: root/src/buildtool/common/cli.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-07-05 16:13:59 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-07-05 17:25:03 +0200
commita7462a787fc45bee5e8010686333d1edbf7f3963 (patch)
tree90b2d8528dbbd9da9f151a3c6793183cfaae7a9a /src/buildtool/common/cli.hpp
parent5ad86a9dbae101cc31792c1ca970316f6e41c4b9 (diff)
downloadjustbuild-a7462a787fc45bee5e8010686333d1edbf7f3963.tar.gz
Remove option --persistent
... as the --request-action-input option provides a clean way of restoring the inputs to a specific action, without the need of interacting with the internal directory structure of the tool. In particular, the new option also works for remote builds.
Diffstat (limited to 'src/buildtool/common/cli.hpp')
-rw-r--r--src/buildtool/common/cli.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp
index 4d5df1bf..e677924c 100644
--- a/src/buildtool/common/cli.hpp
+++ b/src/buildtool/common/cli.hpp
@@ -70,7 +70,6 @@ struct BuildArguments {
std::size_t build_jobs{};
std::optional<std::string> dump_artifacts{std::nullopt};
std::optional<std::string> print_to_stdout{std::nullopt};
- bool persistent_build_dir{false};
bool show_runfiles{false};
};
@@ -260,10 +259,6 @@ static inline auto SetupEndpointArguments(
static inline auto SetupBuildArguments(
gsl::not_null<CLI::App*> const& app,
gsl::not_null<BuildArguments*> const& clargs) {
- app->add_flag("-p,--persistent",
- clargs->persistent_build_dir,
- "Do not clean build directory after execution.");
-
app->add_option_function<std::string>(
"-L,--local-launcher",
[clargs](auto const& launcher_raw) {