mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-01-23 16:31:10 +01:00
Show help without reporting errors.
This commit is contained in:
parent
5d608e3a86
commit
c0fb8f1d2b
@ -94,6 +94,7 @@ usage(){
|
|||||||
default
|
default
|
||||||
if [ "$1" ]; then
|
if [ "$1" ]; then
|
||||||
echo "ERROR: $1"
|
echo "ERROR: $1"
|
||||||
|
abort
|
||||||
fi
|
fi
|
||||||
echo "Usage:
|
echo "Usage:
|
||||||
--arch Architecture of WSA, x64 or arm64, default: $ARCH
|
--arch Architecture of WSA, x64 or arm64, default: $ARCH
|
||||||
@ -108,7 +109,7 @@ usage(){
|
|||||||
--magisk-custom Install custom Magisk, default: false
|
--magisk-custom Install custom Magisk, default: false
|
||||||
--debug Debug build mode, default: false
|
--debug Debug build mode, default: false
|
||||||
"
|
"
|
||||||
abort
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
ARGUMENT_LIST=(
|
ARGUMENT_LIST=(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user