mirror of
https://github.com/spf13/cobra
synced 2024-12-26 22:37:08 +00:00
Fix typos in docs
This commit is contained in:
parent
8f5946caae
commit
39e648c2b0
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ and flags that are only available to that command.
|
|||
In the example above 'port' is the flag.
|
||||
|
||||
Flag functionality is provided by the [pflag
|
||||
libary](https://github.com/ogier/pflag), a fork of the flag standard library
|
||||
library](https://github.com/ogier/pflag), a fork of the flag standard library
|
||||
which maintains the same interface while adding posix compliance.
|
||||
|
||||
## Usage
|
||||
|
|
|
@ -118,7 +118,7 @@ and you'll get something like
|
|||
-c --container= -p --pod=
|
||||
```
|
||||
|
||||
# Specify valid filename extentions for flags that take a filename
|
||||
# Specify valid filename extensions for flags that take a filename
|
||||
|
||||
In this example we use --filename= and expect to get a json or yaml file as the argument. To make this easier we annotate the --filename flag with valid filename extensions.
|
||||
|
||||
|
|
Loading…
Reference in a new issue