diff options
Diffstat (limited to 'libraries/vendors/compile-vunit.ps1')
-rw-r--r-- | libraries/vendors/compile-vunit.ps1 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libraries/vendors/compile-vunit.ps1 b/libraries/vendors/compile-vunit.ps1 index c1ff55e..53c104b 100644 --- a/libraries/vendors/compile-vunit.ps1 +++ b/libraries/vendors/compile-vunit.ps1 @@ -49,9 +49,17 @@ param( [switch]$Clean = $false, #Skip warning messages. (Show errors only.) - [switch]$SuppressWarnings = $false + [switch]$SuppressWarnings = $false, + + # Show the embedded help page(s) + [switch]$Help = $false ) +if ($Help) +{ Get-Help $MYINVOCATION.InvocationName -Detailed + return +} + # --------------------------------------------- # save working directory $WorkingDir = Get-Location @@ -141,7 +149,7 @@ if (-not $StopCompiling) } Write-Host "--------------------------------------------------------------------------------" -Write-Host "Compiling VUnit libraries " -NoNewline +Write-Host "Compiling VUnit library " -NoNewline if ($StopCompiling) { Write-Host "[FAILED]" -ForegroundColor Red } else |