From 33c6aeb91f0fa45305a0e643560e4376894dc2fc Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Tue, 21 Jul 2026 11:37:16 +0200 Subject: [PATCH] fix(stm32cubeprog): missing short arguments for BSD getopt Signed-off-by: Frederic Pillon --- stm32CubeProg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32CubeProg.sh b/stm32CubeProg.sh index 5e2431d2a..a3f9d24ab 100644 --- a/stm32CubeProg.sh +++ b/stm32CubeProg.sh @@ -120,7 +120,7 @@ esac # parse command line arguments # options may be followed by one colon to indicate they have a required arg if [ -n "${GNU_GETOPT}" ]; then - if ! options=$(getopt hi:ef:o:c:r:d:v:p: "$@"); then + if ! options=$(getopt a:hi:m:ef:o:c:r:s:d:v:p: "$@"); then echo "Terminating..." >&2 exit 1 fi