Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2020-09-24 15:27:24 +0300
committerGitHub <noreply@github.com>2020-09-24 15:27:24 +0300
commitae6744a5a851f07d6ae76222529aae38447c832a (patch)
treeae9f7e8c8870500d13dce8fa8cb1ad4a2bd7cef2 /eng/build.ps1
parent7c3d2384f39e383fb48f681dd97b3d0e124899a3 (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.ps12
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
}