mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +00:00
typo: fix incorrect
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
This commit is contained in:
parent
3a5f27b046
commit
d82e75c4b7
1 changed files with 2 additions and 2 deletions
|
@ -173,9 +173,9 @@ hello.yml test.json
|
||||||
|
|
||||||
So while there are many other files in the CWD it only shows me subdirs and those with valid extensions.
|
So while there are many other files in the CWD it only shows me subdirs and those with valid extensions.
|
||||||
|
|
||||||
# Specifiy custom flag completion
|
# Specify custom flag completion
|
||||||
|
|
||||||
Similar to the filename completion and filtering using cobra.BashCompFilenameExt, you can specifiy
|
Similar to the filename completion and filtering using cobra.BashCompFilenameExt, you can specify
|
||||||
a custom flag completion function with cobra.BashCompCustom:
|
a custom flag completion function with cobra.BashCompCustom:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
|
Loading…
Add table
Reference in a new issue