build_win: Don't report an error on help switch

This commit is contained in:
Justin Schuh
2021-10-20 09:06:35 +02:00
committed by Lukáš Matěna
parent d4be22df8a
commit 26cfc9ebb3
+1
View File
@@ -65,6 +65,7 @@ SET PS_DESTDIR=
CALL :RESOLVE_DESTDIR_CACHE CALL :RESOLVE_DESTDIR_CACHE
REM Set up parameters used by help menu REM Set up parameters used by help menu
SET EXIT_STATUS=0
SET PS_CONFIG_DEFAULT=%PS_CONFIG% SET PS_CONFIG_DEFAULT=%PS_CONFIG%
SET PS_ARCH_HOST=%PS_ARCH% SET PS_ARCH_HOST=%PS_ARCH%
(echo " -help /help -h /h -? /? ")| findstr /I /C:" %~1 ">nul && GOTO :HELP (echo " -help /help -h /h -? /? ")| findstr /I /C:" %~1 ">nul && GOTO :HELP