From e2afc7e7a9960eaf6cb40267bc1f39aa6638dccb Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 24 Aug 2020 15:26:25 +0300 Subject: fix, simplify and document upgrade --ignore --- doc/apk-upgrade.8.scd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/apk-upgrade.8.scd b/doc/apk-upgrade.8.scd index 74622d9..a7c77f4 100644 --- a/doc/apk-upgrade.8.scd +++ b/doc/apk-upgrade.8.scd @@ -11,7 +11,9 @@ apk upgrade - upgrade installed packages # DESCRIPTION *apk upgrade* upgrades installed packages to the latest version available from -configured package repositories (see *apk-repositories*(5)). +configured package repositories (see *apk-repositories*(5)). When no packages +are specified, all packages are upgraded if possible. If list of packages is +provided, only those packages are upgraded along with needed dependencies. # OPTIONS @@ -27,6 +29,10 @@ following options: This is useful to reset system against new set of packages after updating repositories. +*--ignore* + Upgrade all other packages than the ones listed. This inverts the given + package name list to mean packages that should not be upgraded. + *-l, --latest* Always choose the latest package by version. However, the versions considered are based on the package pinning. Primarily this overrides -- cgit v1.2.3-70-g09d2