functions: Fix args parser

This commit is contained in:
timoxa0 2024-11-02 22:36:29 +05:00
parent 64827c16c5
commit 910ce30ea9

View file

@ -76,15 +76,15 @@ arguments() {
case "$(echo ${opt} | tr '[:upper:]' '[:lower:]')" in
-c | --cleanup)
cleanup
break 2;;
exit $? ;;
-r | --cleanraw)
cleanraw
break 2;;
exit $? ;;
-h | -help | --help)
usage
break 2;;
exit $? ;;
*)
export LNIBUILD="$opt"