summaryrefslogtreecommitdiff
path: root/doc/apk-add.8.scd
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-02 11:23:12 +0300
commit8c40b5892a199f51ffc45a1934649f998beee623 (patch)
treed2e18f3ed1b3ee39751e703f92392bc375ce2039 /doc/apk-add.8.scd
parent44994a46d4a353bf4596b40a8720e22afe12699e (diff)
downloadapk-tools-tt-add-virtual-version.tar.gz
apk-tools-tt-add-virtual-version.tar.bz2
apk-tools-tt-add-virtual-version.tar.xz
apk-tools-tt-add-virtual-version.zip
add: allow specifying a version for --virtual packagett-add-virtual-version
fixes #10835
Diffstat (limited to 'doc/apk-add.8.scd')
-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_