Skip to content
Snippets Groups Projects
Commit 785bd6d6 authored by John McCabe's avatar John McCabe Committed by Alex Ellis
Browse files

Add -help to deploy_stack.ps1


Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
parent 5d7776c9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment