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-06-03 14:41:11 +0300
commit892425381682008463b7528bdc994fb2bf6f5c71 (patch)
treea634e471879e5df3e6a8edc61b57518ee6339882 /doc
parent1be0510c4e2dc806e5989d49884f5a626b132ec4 (diff)
downloadapk-tools-892425381682008463b7528bdc994fb2bf6f5c71.tar.gz
apk-tools-892425381682008463b7528bdc994fb2bf6f5c71.tar.bz2
apk-tools-892425381682008463b7528bdc994fb2bf6f5c71.tar.xz
apk-tools-892425381682008463b7528bdc994fb2bf6f5c71.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 1586f7e..db6214e 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_