Fix script arguments section

Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
Troy Dawson 2025-07-07 13:39:46 -07:00
parent ef26ebb240
commit b879d40631

View File

@ -54,6 +54,7 @@ case $key in
DEFAULT_NAME="${2}"
shift
else
echo
echo "ERROR: Name is not provided"
echo
usage
@ -65,6 +66,7 @@ case $key in
ICON_PATH="${2}"
shift
else
echo
echo "ERROR: Icon full path is not provided"
echo
usage
@ -72,10 +74,14 @@ case $key in
fi
;;
* )
echo
echo "ERROR BAD OPTION: $key"
echo
usage
exit 2
;;
esac
shift
done
###############