forked from matrix/element-web
Fix options and usage text
This commit is contained in:
parent
2e5ab3f9d8
commit
ccb0ce0e9d
|
@ -25,16 +25,20 @@ set -e
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $0 -e <electron_version> -a <electron_abi> [-i] [-I]"
|
echo "Usage: $0 -e <electron_version> -a <electron_abi> [-i] [-I]"
|
||||||
echo
|
echo
|
||||||
echo "version: Electron version to use. Ex: 4.2.6"
|
echo "version:"
|
||||||
echo
|
echo " Electron version to use"
|
||||||
echo "electron_abi: ABI of the chosen electron version."
|
echo " Ex: 4.2.6"
|
||||||
|
echo "electron_abi:"
|
||||||
|
echo " ABI of the chosen electron version"
|
||||||
echo " Electron v4.2.6's ABI is 69"
|
echo " Electron v4.2.6's ABI is 69"
|
||||||
echo
|
echo "i:"
|
||||||
echo "i: Build the iohook native node module for Push-to-Talk functionality"
|
echo " Build the iohook native node module for Push-to-Talk functionality"
|
||||||
echo "I: Same as -i, but just output the node module in the current directory"
|
echo " and install it"
|
||||||
|
echo "I:"
|
||||||
|
echo " Same as -i, but just output the node module in the current directory"
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts "e:a:i:I" opt; do
|
while getopts "e:a:iI" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
e)
|
e)
|
||||||
electron_version=$OPTARG
|
electron_version=$OPTARG
|
||||||
|
|
Loading…
Reference in New Issue