From 933aac42cc3e6c997589ccaac724f5e86cdba4ab Mon Sep 17 00:00:00 2001 From: Mario1159 Date: Wed, 6 Sep 2023 01:11:20 -0300 Subject: [PATCH] Specify switch parameter type --- scripts/wsl_start.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wsl_start.ps1 b/scripts/wsl_start.ps1 index a88470d..ad04470 100644 --- a/scripts/wsl_start.ps1 +++ b/scripts/wsl_start.ps1 @@ -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]'