update wording

This commit is contained in:
Tobias Powalowski 2024-08-13 16:09:49 +02:00
parent 8e9aba1dbf
commit 806b58b5fa
2 changed files with 9 additions and 9 deletions

View file

@ -8,9 +8,10 @@ _usage () {
echo -e "\e[1m---------------------------\e[m" echo -e "\e[1m---------------------------\e[m"
echo "This will create an archboot container for an archboot image." echo "This will create an archboot container for an archboot image."
echo "" echo ""
echo "Options:"
echo " -cc Cleanup container eg. removing manpages, includes..." echo " -cc Cleanup container eg. removing manpages, includes..."
echo " -cp Cleanup container package cache" echo " -cp Cleanup container package cache"
echo " -install-source=<server> add package server with archboot repository" echo " -install-source=<server> Use <server> containing archboot repository"
echo "" echo ""
echo -e "Usage: \e[1m${_BASENAME} <directory> <options>\e[m" echo -e "Usage: \e[1m${_BASENAME} <directory> <options>\e[m"
exit 0 exit 0

View file

@ -11,13 +11,13 @@ _usage () {
echo -e "\e[1m--------------------------------------\e[m" echo -e "\e[1m--------------------------------------\e[m"
echo "This will create an archboot iso image." echo "This will create an archboot iso image."
echo "" echo ""
echo " -h This message." echo "Options:"
echo " -g Starting generation of image." echo " -g Starting generation of image."
echo " -c=CONFIG Which CONFIG should be used." echo " -c=CONFIG Which CONFIG should be used."
echo " ${_CONFIG_DIR} includes the config files" echo " ${_CONFIG_DIR} includes the config files"
echo " default=${_ARCH}.conf" echo " default=${_ARCH}.conf"
echo " -i=IMAGENAME Your IMAGENAME." echo " -i=IMAGENAME Your IMAGENAME."
echo " -s Save initramfs files in current work directory" echo " -s Save initramfs files in current work directory"
echo "" echo ""
echo -e "Usage: \e[1m${_BASENAME} <options>\e[m" echo -e "Usage: \e[1m${_BASENAME} <options>\e[m"
exit 0 exit 0
@ -30,7 +30,6 @@ _parameters() {
-s|--s) _SAVE_INIT="1" ;; -s|--s) _SAVE_INIT="1" ;;
-c=*|--c=*) _CONFIG="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;; -c=*|--c=*) _CONFIG="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;;
-i=*|--i=*) _IMAGENAME="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;; -i=*|--i=*) _IMAGENAME="$(echo "${1}" | rg -o '=(.*)' -r '$1')" ;;
-h|--h|?) _usage ;;
*) _usage ;; *) _usage ;;
esac esac
shift shift