From 05fbfbecfe8f2790ab66cd73c9478ccec15b9b94 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 28 Jan 2023 08:17:52 +0100 Subject: [PATCH] update parameters and change completition --- usr/bin/archboot-update-installer.sh | 6 +++--- usr/lib/archboot/update-installer/update-installer.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/usr/bin/archboot-update-installer.sh b/usr/bin/archboot-update-installer.sh index 1c42c6584..fcbe1a99a 100755 --- a/usr/bin/archboot-update-installer.sh +++ b/usr/bin/archboot-update-installer.sh @@ -14,7 +14,7 @@ [[ -z "${1}" ]] && usage while [ $# -gt 0 ]; do case ${1} in - -u|--u) _D_SCRIPTS="1" ;; + -u|--u|-update|--update) _D_SCRIPTS="1" ;; -latest|--latest) _L_COMPLETE="1" ;; -latest-install|--latest-install) _L_INSTALL_COMPLETE="1";; -latest-image|--latest-image) _G_RELEASE="1" ;; @@ -25,8 +25,8 @@ while [ $# -gt 0 ]; do -plasma-wayland|--plasma-wayland) _L_PLASMA_WAYLAND="1" ;; -custom-xorg|--custom-xorg) _CUSTOM_X="1" ;; -custom-wayland|--custom-wayland) _CUSTOM_WAYLAND="1" ;; - -full-system) _FULL_SYSTEM="1" ;; - -h|--h|?) usage ;; + -full-system|--full-system) _FULL_SYSTEM="1" ;; + -h|--h||-help|--help|?) usage ;; *) usage ;; esac shift diff --git a/usr/lib/archboot/update-installer/update-installer.sh b/usr/lib/archboot/update-installer/update-installer.sh index 5620847e7..2499cb2e3 100644 --- a/usr/lib/archboot/update-installer/update-installer.sh +++ b/usr/lib/archboot/update-installer/update-installer.sh @@ -29,12 +29,12 @@ _graphic_options() { } usage () { - echo -e "\033[1mUpdate installer, launch environments or create latest image files:\033[0m" - echo -e "\033[1m-------------------------------------------------------------------\033[0m" + echo -e "\033[1mUpdate And Manage Arch Linux - Archboot Environment:\033[0m" + echo -e "\033[1m----------------------------------------------------\033[0m" echo -e "\033[1mPARAMETERS:\033[0m" - echo -e " \033[1m-h\033[0m This message." + echo -e " \033[1m-help\033[0m This message." if [[ ! -e "/var/cache/pacman/pkg/archboot.db" || -e "/usr/bin/setup" ]]; then - echo -e " \033[1m-u\033[0m Update scripts: setup, quickinst, tz, km and helpers." + echo -e " \033[1m-update\033[0m Update scripts: setup, quickinst, tz, km and helpers." fi # latest image if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2500000 && ! -e "/.full_system" && ! -e "/var/cache/pacman/pkg/archboot.db" ]]; then