Improve Alpine scripts
This commit is contained in:
parent
3e06129eb1
commit
77d0758861
@ -17,11 +17,11 @@ main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while [ ${#} -gt 0 ]; do
|
while [ ${#} -gt 0 ]; do
|
||||||
case ${1} in
|
case ${1} in
|
||||||
--help) showHelp; exit 0;;
|
--help) showHelp; exit 0;;
|
||||||
-b | --base-url) BASE_URL="${2}"; shift;;
|
-b | --base-url) BASE_URL="${2}"; shift;;
|
||||||
*) shift;;
|
*) shift;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
main
|
main
|
||||||
|
Loading…
Reference in New Issue
Block a user