summaryrefslogtreecommitdiff
path: root/src/buildtool/common/cli.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/cli.hpp')
-rw-r--r--src/buildtool/common/cli.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp
index e7f78201..7ede3217 100644
--- a/src/buildtool/common/cli.hpp
+++ b/src/buildtool/common/cli.hpp
@@ -138,6 +138,7 @@ struct FetchArguments {
std::optional<std::filesystem::path> sub_path{};
bool remember{false};
bool raw_tree{};
+ bool archive{};
};
/// \brief Arguments required for running from graph file.
@@ -600,9 +601,11 @@ static inline auto SetupFetchArguments(
"tree).")
->type_name("PATH");
+ app->add_flag(
+ "--archive", clargs->archive, "Dump the tree as a single archive.");
app->add_flag("--raw-tree",
clargs->raw_tree,
- "Dump raw tree object (omit pretty printing)");
+ "Dump raw tree object (omit pretty printing).");
app->add_flag(
"--remember", clargs->remember, "Copy object to local CAS first");