mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Add -help to deploy_stack.ps1
Signed-off-by: John McCabe <john@johnmccabe.net>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user