maven-deploy.bat: Also fail with invalid arguments after valid arguments

This commit is contained in:
Nicolai Ehemann 2017-12-01 11:01:44 +01:00
parent 1df4479985
commit b85c79b4fe

View File

@ -29,11 +29,12 @@ GOTO end
SHIFT
GOTO parse
:usage
ECHO Wrong usage. Run with -h or --help argument for details.
GOTO end
:endparse
IF "%URL%"=="" (
ECHO Wrong usage. Run with -h or --help argument for details.
GOTO end
)
IF NOT "%~1"=="" GOTO usage
IF "%URL%"=="" GOTO usage
set VERSION=3.11.0-SNAPSHOT