doc: fix typo, Deperecated -> Deprecated (#2000)
This commit is contained in:
parent
66b215ba18
commit
60d056d157
@ -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 New Issue
Block a user