Fix .cmd scripts help arguments (#1131)
[platform/upstream/dotnet/runtime.git] / build.cmd
1 @echo off
2 setlocal
3
4 set _args=%*
5 if "%~1"=="-?" set _args=-help
6
7 powershell -ExecutionPolicy ByPass -NoProfile -File "%~dp0eng\build.ps1" %_args%
8 exit /b %ERRORLEVEL%