From 806b58b5fa6ce939d9210abe62e1fd36c34b3b87 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 13 Aug 2024 16:09:49 +0200 Subject: [PATCH] update wording --- usr/lib/archboot/container.sh | 3 ++- usr/lib/archboot/iso.sh | 15 +++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/usr/lib/archboot/container.sh b/usr/lib/archboot/container.sh index 372d63b7b..3e76330bf 100644 --- a/usr/lib/archboot/container.sh +++ b/usr/lib/archboot/container.sh @@ -8,9 +8,10 @@ _usage () { echo -e "\e[1m---------------------------\e[m" echo "This will create an archboot container for an archboot image." echo "" + echo "Options:" echo " -cc Cleanup container eg. removing manpages, includes..." echo " -cp Cleanup container package cache" - echo " -install-source= add package server with archboot repository" + echo " -install-source= Use containing archboot repository" echo "" echo -e "Usage: \e[1m${_BASENAME} \e[m" exit 0 diff --git a/usr/lib/archboot/iso.sh b/usr/lib/archboot/iso.sh index 09bbc5af6..cd1802384 100644 --- a/usr/lib/archboot/iso.sh +++ b/usr/lib/archboot/iso.sh @@ -11,13 +11,13 @@ _usage () { echo -e "\e[1m--------------------------------------\e[m" echo "This will create an archboot iso image." echo "" - echo " -h This message." - echo " -g Starting generation of image." - echo " -c=CONFIG Which CONFIG should be used." - echo " ${_CONFIG_DIR} includes the config files" - echo " default=${_ARCH}.conf" - echo " -i=IMAGENAME Your IMAGENAME." - echo " -s Save initramfs files in current work directory" + echo "Options:" + echo " -g Starting generation of image." + echo " -c=CONFIG Which CONFIG should be used." + echo " ${_CONFIG_DIR} includes the config files" + echo " default=${_ARCH}.conf" + echo " -i=IMAGENAME Your IMAGENAME." + echo " -s Save initramfs files in current work directory" echo "" echo -e "Usage: \e[1m${_BASENAME} \e[m" exit 0 @@ -30,7 +30,6 @@ _parameters() { -s|--s) _SAVE_INIT="1" ;; -c=*|--c=*) _CONFIG="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;; -i=*|--i=*) _IMAGENAME="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;; - -h|--h|?) _usage ;; *) _usage ;; esac shift