Correcting misspelled words (#1349)

* Correcting Misspelled Words
* grammar fixes
This commit is contained in:
tamo
2021-05-11 08:19:33 +09:00
committed by GitHub
parent c2e21bdc10
commit 4590150168
3 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock {
# filter the result
$_.Name -like "$WordToComplete*"
# Join the flag back if we have a equal sign flag
# Join the flag back if we have an equal sign flag
if ( $IsEqualFlag ) {
__%[1]s_debug "Join the equal sign flag back to the completion value"
$_.Name = $Flag + "=" + $_.Name
@ -178,7 +178,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock {
$Values | ForEach-Object {
# store temporay because switch will overwrite $_
# store temporary because switch will overwrite $_
$comp = $_
# PowerShell supports three different completion modes