about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xx.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/x.ps1 b/x.ps1
index b036653e5b4..55f99901645 100755
--- a/x.ps1
+++ b/x.ps1
@@ -5,7 +5,7 @@
 $ErrorActionPreference = "Stop"
 
 # syntax check
-Get-Command -syntax ${PSCommandPath}
+Get-Command -syntax ${PSCommandPath} >$null
 
 $xpy = Join-Path $PSScriptRoot x.py
 # Start-Process for some reason splits arguments on spaces. (Isn't powershell supposed to be simpler than bash?)