Skip to content

Commit c16ca3b

Browse files
committed
fix(stm32cubeprog): missing short arguments for BSD getopt
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 0fbba8c commit c16ca3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stm32CubeProg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ esac
120120
# parse command line arguments
121121
# options may be followed by one colon to indicate they have a required arg
122122
if [ -n "${GNU_GETOPT}" ]; then
123-
if ! options=$(getopt hi:ef:o:c:r:d:v:p: "$@"); then
123+
if ! options=$(getopt a:hi:m:ef:o:c:r:s:d:v:p: "$@"); then
124124
echo "Terminating..." >&2
125125
exit 1
126126
fi

0 commit comments

Comments
 (0)