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

pull/3370/head
David Ellefsen 2024-03-08 10:50:03 +02:00 zatwierdzone przez Thomas Göttgens
rodzic b3ec3c20fb
commit a493ab526f
1 zmienionych plików z 29 dodań i 27 usunięć

Wyświetl plik

@ -18,18 +18,20 @@ Flash image file to device, but first erasing and writing system information"
EOF EOF
} }
while getopts ":hp:P:f:" opt; do while getopts ":hp:P:f:" opt; do
case "${opt}" in case "${opt}" in
h) h)
show_help show_help
exit 0 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." echo "Invalid flag."