Help page extended
This commit is contained in:
parent
55587dfe4b
commit
3ad37ea244
1 changed files with 8 additions and 3 deletions
|
|
@ -267,7 +267,7 @@ compare_version() {
|
||||||
help() {
|
help() {
|
||||||
echo -e "\n${CYN}${SCRIPT_NAME}${CRS}\n"
|
echo -e "\n${CYN}${SCRIPT_NAME}${CRS}\n"
|
||||||
echo -e "Helium Browser installer & updater script\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 "Options:\n"
|
||||||
echo -e "\t-i\tDownload & install Helium from GitHub"
|
echo -e "\t-i\tDownload & install Helium from GitHub"
|
||||||
echo -e "\t-u\tUpdate 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-s\tShow script version"
|
||||||
echo -e "\t-h\tPrint this help page.\n"
|
echo -e "\t-h\tPrint this help page.\n"
|
||||||
echo -e "Configured locations:\n"
|
echo -e "Configured locations:\n"
|
||||||
echo -e "\t${GRN}${INSTALL_PATH}${CRS}\t\tInstall directory"
|
echo -e "\t${GRN}${INSTALL_PATH}${CRS}\t\tInstall location"
|
||||||
echo -e "\t${GRN}${LAUNCHER_PATH}${CRS}\tLauncher directory"
|
echo -e "\t${GRN}${LAUNCHER_PATH}${CRS}\tLauncher location"
|
||||||
echo -e "\t${GRN}${SCRIPT_PATH}${CRS}\t\t\tScript location\n"
|
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
|
help
|
||||||
exit;;
|
exit;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo -e "\n ${YEL}Option not recognized... Check help below!${CRS}"
|
||||||
|
help
|
||||||
|
exit;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue