From f8cf7a0a0dfd6e84741d1bf28e575690cd376356 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 2 May 2022 11:22:43 +0300 Subject: add: allow specifying a version for --virtual package fixes #10835 --- doc/apk-add.8.scd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') 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_ -- cgit v1.2.3-70-g09d2