Trunk fmt to correct failing PR check for device-install.sh

This commit is contained in:
David Ellefsen 2024-03-08 10:50:03 +02:00 committed by Thomas Göttgens
parent b3ec3c20fb
commit a493ab526f

View File

@ -18,18 +18,20 @@ Flash image file to device, but first erasing and writing system information"
EOF
}
while getopts ":hp:P:f:" opt; do
case "${opt}" in
h)
show_help
exit 0
;;
p) export ESPTOOL_PORT=${OPTARG}
p)
export ESPTOOL_PORT=${OPTARG}
;;
P) PYTHON=${OPTARG}
P)
PYTHON=${OPTARG}
;;
f) FILENAME=${OPTARG}
f)
FILENAME=${OPTARG}
;;
*)
echo "Invalid flag."