#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
This commit is contained in:
parent
bc27c7c464
commit
a5a384b4d5
1 changed files with 1 additions and 2 deletions
3
quarkus/dist/src/main/content/bin/kc.bat
vendored
3
quarkus/dist/src/main/content/bin/kc.bat
vendored
|
@ -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
|
||||
:END
|
||||
|
|
Loading…
Reference in a new issue