mirror of
https://github.com/spf13/cobra
synced 2024-12-28 07:17:06 +00:00
Updating bash_completions to clarify markdown (#442)
"Plural form and shortcuts for nouns" section had a stray backtick, making Markdown rendering for code examples strange. Removed said backtick.
This commit is contained in:
parent
1362f95a8d
commit
4673102358
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ node pod replicationcontroller service
|
|||
|
||||
If your nouns have a number of aliases, you can define them alongside `ValidArgs` using `ArgAliases`:
|
||||
|
||||
```go`
|
||||
```go
|
||||
argAliases []string = { "pods", "nodes", "services", "svc", "replicationcontrollers", "rc" }
|
||||
|
||||
cmd := &cobra.Command{
|
||||
|
|
Loading…
Reference in a new issue