This commit is contained in:
parent
9e387aa673
commit
90a5b894e9
66 changed files with 806 additions and 356 deletions
4
vendor/github.com/spf13/cobra/powershell_completions.go
generated
vendored
4
vendor/github.com/spf13/cobra/powershell_completions.go
generated
vendored
|
@ -28,8 +28,8 @@ import (
|
|||
func genPowerShellComp(buf io.StringWriter, name string, includeDesc bool) {
|
||||
// Variables should not contain a '-' or ':' character
|
||||
nameForVar := name
|
||||
nameForVar = strings.Replace(nameForVar, "-", "_", -1)
|
||||
nameForVar = strings.Replace(nameForVar, ":", "_", -1)
|
||||
nameForVar = strings.ReplaceAll(nameForVar, "-", "_")
|
||||
nameForVar = strings.ReplaceAll(nameForVar, ":", "_")
|
||||
|
||||
compCmd := ShellCompRequestCmd
|
||||
if !includeDesc {
|
||||
|
|
Reference in a new issue