mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Merge pull request #7 from philips/patch-1
fix(README): simple grammar fixup
This commit is contained in:
commit
6dd0aa154a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ A Command has the following structure:
|
||||||
|
|
||||||
A Flag is a way to modify the behavior of an command. Cobra supports
|
A Flag is a way to modify the behavior of an command. Cobra supports
|
||||||
fully posix compliant flags as well as the go flag package.
|
fully posix compliant flags as well as the go flag package.
|
||||||
A Cobra command has can define flags that persist through to children commands
|
A Cobra command can define flags that persist through to children commands
|
||||||
and flags that are only available to that command.
|
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.
|
||||||
|
|
Loading…
Reference in a new issue