Add --help args
This commit is contained in:
parent
19889dee32
commit
8cf7a43b9b
1 changed files with 7 additions and 0 deletions
7
archfi
7
archfi
|
@ -1366,6 +1366,13 @@ loadstrings(){
|
|||
# --------------------------------------------------------
|
||||
while (( "$#" )); do
|
||||
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;;
|
||||
-t | --test) baseurl="https://raw.githubusercontent"
|
||||
baseurl="$baseurl.com/""$2/archfi/$3";;
|
||||
|
|
Loading…
Reference in a new issue