diff --git a/deploy_stack.ps1 b/deploy_stack.ps1 index c33ec00ac57c9bdff74cdaa3d94f62fefd1a80a4..5df0812ebbb97eb65a82c4ed1b0f458872b8575b 100644 --- a/deploy_stack.ps1 +++ b/deploy_stack.ps1 @@ -2,9 +2,19 @@ param ( [switch] $noAuth, - [switch] $n + [switch] $n, + [switch] $help, + [switch] $h ) +if ($help -Or $h) { + Write-Host "Usage: " + Write-Host " [default]`tdeploy the OpenFaaS core services" + Write-Host " -noAuth [-n]`tdisable basic authentication" + Write-Host " -help [-h]`tdisplays this screen" + Exit +} + if (Get-Command docker -errorAction SilentlyContinue) { docker node ls 2>&1 | out-null