mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Fix trailing whitespace in the powershell completion script (#1342)
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
parent
893ebf6e36
commit
ded486a867
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ Register-ArgumentCompleter -CommandName '%[1]s' -ScriptBlock {
|
||||||
# We add an extra empty parameter so we can indicate this to the go method.
|
# We add an extra empty parameter so we can indicate this to the go method.
|
||||||
__%[1]s_debug "Adding extra empty parameter"
|
__%[1]s_debug "Adding extra empty parameter"
|
||||||
`+" # We need to use `\"`\" to pass an empty argument a \"\" or '' does not work!!!"+`
|
`+" # We need to use `\"`\" to pass an empty argument a \"\" or '' does not work!!!"+`
|
||||||
`+" $RequestComp=\"$RequestComp\" + ' `\"`\"' "+`
|
`+" $RequestComp=\"$RequestComp\" + ' `\"`\"'"+`
|
||||||
}
|
}
|
||||||
|
|
||||||
__%[1]s_debug "Calling $RequestComp"
|
__%[1]s_debug "Calling $RequestComp"
|
||||||
|
|
Loading…
Reference in a new issue