mirror of
https://github.com/spf13/cobra
synced 2024-12-29 15:57:10 +00:00
Format with spaces instead of tabs
This commit is contained in:
parent
e7abbf39a3
commit
7eac0e11ae
1 changed files with 85 additions and 87 deletions
|
@ -24,8 +24,6 @@ import (
|
|||
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
|
||||
buf := new(bytes.Buffer)
|
||||
WriteStringAndCheck(buf, fmt.Sprintf(`
|
||||
# An external completer that works with any cobra based
|
||||
# command line application (e.g. kubectl, minikube)
|
||||
let cobra_completer = {|spans|
|
||||
let ShellCompDirectiveError = %[1]d
|
||||
let ShellCompDirectiveNoSpace = %[2]d
|
||||
|
|
Loading…
Reference in a new issue