Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/man/pkgctl-repo-clone.1.asciidoc
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2023-04-14 17:14:05 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:13 +0200
commit8e3b6bcc5b82b270f8d310865f14f2b0405eddd7 (patch)
tree82179a5d2c01a81a7e28d57f466de6e16fc68688 /doc/man/pkgctl-repo-clone.1.asciidoc
parent4289be212b38cbd9a1676303224b6af5c00bd429 (diff)
pkgctl repo clone: add option to switch working tree
Add an option to call the switch command after clone. Switch to a specified version. The working tree and the index are updated to match the version. Signed-off-by: Christian Heusel <christian@heusel.eu> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'doc/man/pkgctl-repo-clone.1.asciidoc')
-rw-r--r--doc/man/pkgctl-repo-clone.1.asciidoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man/pkgctl-repo-clone.1.asciidoc b/doc/man/pkgctl-repo-clone.1.asciidoc
index a39fb37..8f3aef7 100644
--- a/doc/man/pkgctl-repo-clone.1.asciidoc
+++ b/doc/man/pkgctl-repo-clone.1.asciidoc
@@ -28,6 +28,10 @@ Options
*--universe*::
Clone all existing packages, useful for cache warming
+*--switch* 'VERSION'::
+ Switch to a specified version. The working tree and the index are updated to
+ match the version.
+
*-h, --help*::
Show a help text
@@ -35,5 +39,6 @@ See Also
--------
linkman:pkgctl-repo-configure[1]
+linkman:pkgctl-repo-switch[1]
include::include/footer.asciidoc[]