diff --git a/bash_completions.md b/bash_completions.md index 84d5b01..6e3b71f 100644 --- a/bash_completions.md +++ b/bash_completions.md @@ -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 diff --git a/doc/man_docs.go b/doc/man_docs.go index a98674b..5364326 100644 --- a/doc/man_docs.go +++ b/doc/man_docs.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`