diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2020-09-24 15:27:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 15:27:24 +0300 |
commit | ae6744a5a851f07d6ae76222529aae38447c832a (patch) | |
tree | ae9f7e8c8870500d13dce8fa8cb1ad4a2bd7cef2 /eng/build.ps1 | |
parent | 7c3d2384f39e383fb48f681dd97b3d0e124899a3 (diff) |
Print help for -? and /? cross-plat (#42396)
* Print help for -? and /? cross-plat
Diffstat (limited to 'eng/build.ps1')
-rw-r--r-- | eng/build.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/build.ps1 b/eng/build.ps1 index 016ed15d203..393ed8456de 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -103,7 +103,7 @@ function Get-Help() { Write-Host "For more information, check out https://github.com/dotnet/runtime/blob/master/docs/workflow/README.md" } -if ($help -or (($null -ne $properties) -and ($properties.Contains('/help') -or $properties.Contains('/?')))) { +if ($help) { Get-Help exit 0 } |