Specify switch parameter type
This commit is contained in:
parent
0433b2acea
commit
933aac42cc
@ -1,4 +1,4 @@
|
||||
param($remote)
|
||||
param([switch] $remote = $false)
|
||||
|
||||
$imagename = Read-Host -Prompt 'Container image to initialize'
|
||||
$containername = Read-Host -Prompt 'Container instance name [default=$imagename]'
|
||||
|
Loading…
Reference in New Issue
Block a user