summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-03-27 15:30:37 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-03-28 14:53:42 +0100
commit9ee2086f9f910ac7cd930dffc4888c7c515962fc (patch)
treed7223cfeda4b9ad75b1d08007c9e33c6b40459e0 /share
parent68f18337afc2cd7a7a8aba123537020f29e51644 (diff)
downloadjustbuild-9ee2086f9f910ac7cd930dffc4888c7c515962fc.tar.gz
just install-cas: add option --archive
Trees are first-class objects for justbuild. To allow interoperation with other tools, it is necessary to provide those objects in a standard format; for directories, those are archives. Hence procive a corresponding option.
Diffstat (limited to 'share')
-rw-r--r--share/man/just.1.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/just.1.md b/share/man/just.1.md
index de84f44b..812cd33f 100644
--- a/share/man/just.1.md
+++ b/share/man/just.1.md
@@ -496,9 +496,16 @@ Install path for the artifact. Refer to **`install-cas`** section for more
details.
Supported by: install-cas.
+**`--archive`**
+Instead of installing the requested tree, install an archive with the
+content of the tree. It is a user error to specify **`--archive`** and
+not request a tree.
+Supported by: install-cas.
+
**`--raw-tree`**
When installing a tree to stdout, i.e., when no option **`-o`** is given,
-dump the raw tree rather than a pretty-printed version.
+dump the raw tree rather than a pretty-printed version. This option is
+ignored if **`--archive`** is given.
Supported by: install-cas.
**`-P`**, **`--sub-object-path`** *`PATH`*