Removed unnecessary options
This commit is contained in:
parent
307e4b6289
commit
9f1b836034
@ -8,22 +8,15 @@ source $SCRIPTDIR/common.sh
|
||||
##############################################################
|
||||
# main
|
||||
##############################################################
|
||||
while getopts "flpu:" opt; do
|
||||
while getopts "fu:" opt; do
|
||||
case $opt in
|
||||
f)
|
||||
echo "fastboot enabled"
|
||||
METHOD=fastboot
|
||||
;;
|
||||
l)
|
||||
echo "factory mode remain in u-boot after flashing"
|
||||
AFTER_FLASHING=loop
|
||||
;;
|
||||
u)
|
||||
BUILDROOT_OUTPUT_DIR="${OPTARG}"
|
||||
;;
|
||||
p)
|
||||
POCKET_CHIP=true
|
||||
;;
|
||||
\?)
|
||||
echo "Invalid option: -$OPTARG" >&2
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user