Fixed typos in README and docstring
This commit is contained in:
		@ -117,7 +117,7 @@ cmd := &cobra.Command{
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
The aliases are not shown to the user on tab completion, but they are accepted as valid nouns by
 | 
			
		||||
the completion aglorithm if entered manually, e.g. in:
 | 
			
		||||
the completion algorithm if entered manually, e.g. in:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
# kubectl get rc [tab][tab]
 | 
			
		||||
@ -175,7 +175,7 @@ So while there are many other files in the CWD it only shows me subdirs and thos
 | 
			
		||||
 | 
			
		||||
# Specifiy custom flag completion
 | 
			
		||||
 | 
			
		||||
Similar to the filename completion and filtering usingn cobra.BashCompFilenameExt, you can specifiy
 | 
			
		||||
Similar to the filename completion and filtering using cobra.BashCompFilenameExt, you can specifiy
 | 
			
		||||
a custom flag completion function with cobra.BashCompCustom:
 | 
			
		||||
 | 
			
		||||
```go
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@ import (
 | 
			
		||||
	"github.com/spf13/pflag"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// GenManTree will generate a man page for this command and all decendants
 | 
			
		||||
// GenManTree will generate a man page for this command and all descendants
 | 
			
		||||
// in the directory given. The header may be nil. This function may not work
 | 
			
		||||
// correctly if your command names have - in them. If you have `cmd` with two
 | 
			
		||||
// subcmds, `sub` and `sub-third`. And `sub` has a subcommand called `third`
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user