mirror of
https://github.com/spf13/cobra
synced 2024-12-26 22:37:08 +00:00
doc: fix typo, Deperecated -> Deprecated (#2000)
This commit is contained in:
parent
66b215ba18
commit
60d056d157
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func TestGenManSeeAlso(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestManPrintFlagsHidesShortDeperecated(t *testing.T) {
|
||||
func TestManPrintFlagsHidesShortDeprecated(t *testing.T) {
|
||||
c := &cobra.Command{}
|
||||
c.Flags().StringP("foo", "f", "default", "Foo flag")
|
||||
assertNoErr(t, c.Flags().MarkShorthandDeprecated("foo", "don't use it no more"))
|
||||
|
|
Loading…
Reference in a new issue