Add --help args

This commit is contained in:
MatMoul 2018-12-26 02:58:55 +01:00
parent 19889dee32
commit 8cf7a43b9b

7
archfi
View file

@ -1366,6 +1366,13 @@ loadstrings(){
# -------------------------------------------------------- # --------------------------------------------------------
while (( "$#" )); do while (( "$#" )); do
case $1 in case $1 in
--help)
echo "archfi"
echo "------"
echo "-sf | --skip-font Skip setfont from language files"
echo "-t | --test ghusername ghbranch Test language files"
exit 0
;;
-sf | --skip-font) skipfont=1;; -sf | --skip-font) skipfont=1;;
-t | --test) baseurl="https://raw.githubusercontent" -t | --test) baseurl="https://raw.githubusercontent"
baseurl="$baseurl.com/""$2/archfi/$3";; baseurl="$baseurl.com/""$2/archfi/$3";;