From 5dc414c1ce7c5d71cc1fc9ae3ff21f3ccf61d098 Mon Sep 17 00:00:00 2001 From: Robin Candau <53110319+Antiz96@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:50:18 +0100 Subject: [PATCH] Add missing documentation for the old cached packages handling and pending kernel update processing features in the help message (#88) Fixes https://github.com/Antiz96/arch-update/issues/86 --- README.md | 6 ++++-- src/script/arch-update.sh | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2f60d03..2c8efc5 100644 --- a/README.md +++ b/README.md @@ -139,10 +139,12 @@ Finally, `arch-update` will check if there's a pending kernel update requiring a ## Documentation ```text -Run arch-update to launch the relevant series of functions to perform a complete and proper update: +An update notifier/applier for Arch Linux that assists you with important pre/post update tasks. + +Run arch-update to perform the main "update" function: Print the list of packages available for update, then ask for the user's confirmation to proceed with the installation. Before performing the update, offer to print the latest Arch Linux news. -Post update, check for orphan/unused packages, pacnew/pacsave files and pending kernel update requiring a reboot to be applied and, if there are, offers to process them. +Post update, check for orphan/unused packages, old cached packages, pacnew/pacsave files and pending kernel update and, if there are, offers to process them. Options: -c, --check Check for available updates, send a desktop notification containing the number of available updates (if libnotify is installed) diff --git a/src/script/arch-update.sh b/src/script/arch-update.sh index ea8fffe..4b3ddc4 100755 --- a/src/script/arch-update.sh +++ b/src/script/arch-update.sh @@ -87,7 +87,10 @@ ${name} v${version} An update notifier/applier for Arch Linux that assists you with important pre/post update tasks. -Run arch-update to perform the main "update" function: Print the list of packages available for update, then ask for the user's confirmation to proceed with the installation. Before performing the update, offer to print the latest Arch Linux news. Post update, check for orphan/unused packages and pacnew/pacsave files and, if there are, offers to process them. +Run arch-update to perform the main "update" function: +Print the list of packages available for update, then ask for the user's confirmation to proceed with the installation. +Before performing the update, offer to print the latest Arch Linux news. +Post update, check for orphan/unused packages, old cached packages, pacnew/pacsave files and pending kernel update and, if there are, offers to process them. Options: -c, --check Check for available updates, send a desktop notification containing the number of available updates (if libnotify is installed)