Help page extended

This commit is contained in:
Fr4nz D13trich 2025-12-21 12:50:10 +01:00
parent 55587dfe4b
commit 3ad37ea244

View file

@ -267,7 +267,7 @@ compare_version() {
help() {
echo -e "\n${CYN}${SCRIPT_NAME}${CRS}\n"
echo -e "Helium Browser installer & updater script\n"
echo -e "Syntax: helium_helper.sh [ -i | -u | -c | -s | -h ]\n"
echo -e "Syntax: helium_helper.sh [ -i | -u | -r | -c | -s | -h ]\n"
echo -e "Options:\n"
echo -e "\t-i\tDownload & install Helium from GitHub"
echo -e "\t-u\tUpdate Helium from GitHub"
@ -276,8 +276,8 @@ help() {
echo -e "\t-s\tShow script version"
echo -e "\t-h\tPrint this help page.\n"
echo -e "Configured locations:\n"
echo -e "\t${GRN}${INSTALL_PATH}${CRS}\t\tInstall directory"
echo -e "\t${GRN}${LAUNCHER_PATH}${CRS}\tLauncher directory"
echo -e "\t${GRN}${INSTALL_PATH}${CRS}\t\tInstall location"
echo -e "\t${GRN}${LAUNCHER_PATH}${CRS}\tLauncher location"
echo -e "\t${GRN}${SCRIPT_PATH}${CRS}\t\t\tScript location\n"
}
@ -324,6 +324,11 @@ while getopts ":i,:u,:r,:c,:s,:h" OPTION ; do
help
exit;;
*)
echo -e "\n ${YEL}Option not recognized... Check help below!${CRS}"
help
exit;;
esac
done