Skip to content

Commit e167f91

Browse files
committed
[STM32CubeProg] Fix trailing arguments for windows
"shift" has no effect on "%*" batch parameter; it only change index. Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 3d52d4c commit e167f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win/stm32CubeProg.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ goto :opt
5555
shift
5656
shift
5757
if "%~1"=="" goto :prog
58-
set OPTS=%*
58+
set OPTS=%1 %2 %3 %4 %5 %6 %7 %8 %9
5959
goto :prog
6060

6161
:prog

0 commit comments

Comments
 (0)