From a5a384b4d5fc9338f8d68fc63a845a21059e9dac Mon Sep 17 00:00:00 2001 From: JPA2015 Date: Thu, 17 Mar 2022 16:47:31 +0100 Subject: [PATCH] #10443 start-dev: parsing command lines parameters kc.bat called "shift" twice after parsing "start-dev". But "start-dev" is only one parameter so that "shift" should be called only once or else further command line parameters won't be parsed correctly. Closes #10443 --- quarkus/dist/src/main/content/bin/kc.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quarkus/dist/src/main/content/bin/kc.bat b/quarkus/dist/src/main/content/bin/kc.bat index 82fd7c53f3..82e984ced9 100644 --- a/quarkus/dist/src/main/content/bin/kc.bat +++ b/quarkus/dist/src/main/content/bin/kc.bat @@ -47,7 +47,6 @@ if "%KEY%" == "--debug" ( if "%KEY%" == "start-dev" ( set "CONFIG_ARGS=%CONFIG_ARGS% --profile=dev %KEY% --auto-build" shift - shift goto READ-ARGS ) if not "%KEY:~0,2%"=="--" if "%KEY:~0,2%"=="-D" ( @@ -137,4 +136,4 @@ if not "!CONFIG_ARGS:%AUTO_BUILD_OPTION%=!"=="!CONFIG_ARGS!" ( "%JAVA%" %JAVA_RUN_OPTS% -:END \ No newline at end of file +:END