Removed unnecessary options

This commit is contained in:
computermouth 2016-03-16 15:49:33 -07:00
parent 307e4b6289
commit 9f1b836034
1 changed files with 1 additions and 8 deletions

View File

@ -8,22 +8,15 @@ source $SCRIPTDIR/common.sh
############################################################## ##############################################################
# main # main
############################################################## ##############################################################
while getopts "flpu:" opt; do while getopts "fu:" opt; do
case $opt in case $opt in
f) f)
echo "fastboot enabled" echo "fastboot enabled"
METHOD=fastboot METHOD=fastboot
;; ;;
l)
echo "factory mode remain in u-boot after flashing"
AFTER_FLASHING=loop
;;
u) u)
BUILDROOT_OUTPUT_DIR="${OPTARG}" BUILDROOT_OUTPUT_DIR="${OPTARG}"
;; ;;
p)
POCKET_CHIP=true
;;
\?) \?)
echo "Invalid option: -$OPTARG" >&2 echo "Invalid option: -$OPTARG" >&2
exit 1 exit 1