mirror of https://github.com/spf13/cobra.git
Fix typos in docs
This commit is contained in:
parent
8f5946caae
commit
39e648c2b0
|
@ -62,7 +62,7 @@ and flags that are only available to that command.
|
||||||
In the example above 'port' is the flag.
|
In the example above 'port' is the flag.
|
||||||
|
|
||||||
Flag functionality is provided by the [pflag
|
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.
|
which maintains the same interface while adding posix compliance.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -118,7 +118,7 @@ and you'll get something like
|
||||||
-c --container= -p --pod=
|
-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.
|
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 New Issue