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