summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2022-05-02 11:22:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2022-05-04 19:56:00 +0300
commitf8cf7a0a0dfd6e84741d1bf28e575690cd376356 (patch)
treed2e18f3ed1b3ee39751e703f92392bc375ce2039 /doc
parent44994a46d4a353bf4596b40a8720e22afe12699e (diff)
downloadapk-tools-f8cf7a0a0dfd6e84741d1bf28e575690cd376356.tar.gz
apk-tools-f8cf7a0a0dfd6e84741d1bf28e575690cd376356.tar.bz2
apk-tools-f8cf7a0a0dfd6e84741d1bf28e575690cd376356.tar.xz
apk-tools-f8cf7a0a0dfd6e84741d1bf28e575690cd376356.zip
add: allow specifying a version for --virtual package
fixes #10835
Diffstat (limited to 'doc')
-rw-r--r--doc/apk-add.8.scd4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/apk-add.8.scd b/doc/apk-add.8.scd
index 3552095..7398946 100644
--- a/doc/apk-add.8.scd
+++ b/doc/apk-add.8.scd
@@ -42,7 +42,9 @@ following options:
*-t, --virtual* _NAME_
Create virtual package _NAME_ with given dependencies. This new package
will get the _packages_ as dependencies instead of _world_. Finally the
- _NAME_ is added to _world_.
+ _NAME_ is added to _world_. An optional version specifier for the virtual
+ package can be given via syntax _NAME_=_VERSION_. The version defaults
+ to synthesized version based on time.
One can use this to ensure that selected set of packages are installed,
and later the temporary modification be undone with *apk-del*(8) _NAME_