on xenial help sign in
Drop long options.
28c53f9Michał Sawicz
run_on_device.sh+8−8
@@ -30,7 +30,7 @@ usage() {
30 echo " -g Run with gdb"
30 echo " -g Run with gdb"
31 echo " -p Enable a PIN lock screen when running"
31 echo " -p Enable a PIN lock screen when running"
32 echo " -k Enable a Keyboard lock screen when running"
32 echo " -k Enable a Keyboard lock screen when running"
33− echo ""
33+ echo
34 echo "IMPORTANT:"
34 echo "IMPORTANT:"
35 echo " * Make sure to have networking setup on the device beforehand."
35 echo " * Make sure to have networking setup on the device beforehand."
36 echo " * Execute that script from a directory containing unity8 code."
36 echo " * Execute that script from a directory containing unity8 code."
@@ -109,13 +109,13 @@ run() {
109
109
110while getopts "a:sgpkh" OPTION; do
110while getopts "a:sgpkh" OPTION; do
111 case "$OPTION" in
111 case "$OPTION" in
112− a|password) PASSWORD=$OPTARG;;
112+ a) PASSWORD=$OPTARG;;
113− s|setup) SETUP=true;;
113+ s) SETUP=true;;
114− g|gdb) GDB=true;;
114+ g) GDB=true;;
115− p|pinlock) PINLOCK=true;;
115+ p) PINLOCK=true;;
116− k|keylock) KEYLOCK=true;;
116+ k) KEYLOCK=true;;
117− h|help) usage;;
117+ h) usage;;
118− ?) echo;usage;;
118+ ?) echo;usage;;
119 esac
119 esac
120done
120done
121
121