Convert bool
param to Switch
This commit is contained in:
parent
3617798a0e
commit
0f7ff4a2a6
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ $null = New-Module {
|
||||||
[string]$Category = $null,
|
[string]$Category = $null,
|
||||||
[Parameter(Position=0, Mandatory=$true)]
|
[Parameter(Position=0, Mandatory=$true)]
|
||||||
[string]$Statement,
|
[string]$Statement,
|
||||||
[bool]$Overwrite = $false
|
[switch]$Overwrite = $false
|
||||||
)
|
)
|
||||||
|
|
||||||
[System.Collections.Generic.List[string]] $shells = @();
|
[System.Collections.Generic.List[string]] $shells = @();
|
||||||
|
|
Loading…
Reference in a new issue