functions: Fix args parser
This commit is contained in:
parent
64827c16c5
commit
910ce30ea9
|
@ -75,16 +75,16 @@ arguments() {
|
|||
|
||||
case "$(echo ${opt} | tr '[:upper:]' '[:lower:]')" in
|
||||
-c | --cleanup)
|
||||
cleanup
|
||||
break 2;;
|
||||
cleanup
|
||||
exit $? ;;
|
||||
|
||||
-r | --cleanraw)
|
||||
cleanraw
|
||||
break 2;;
|
||||
exit $? ;;
|
||||
|
||||
-h | -help | --help)
|
||||
usage
|
||||
break 2;;
|
||||
usage
|
||||
exit $? ;;
|
||||
|
||||
*)
|
||||
export LNIBUILD="$opt"
|
||||
|
|
Loading…
Reference in a new issue