spelling: deprecated

This commit is contained in:
Josh Soref 2020-11-21 21:18:50 -05:00
parent e58b2dbe92
commit 8ba68fc68a

View file

@ -106,7 +106,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")
_ = c.Flags().MarkShorthandDeprecated("foo", "don't use it no more")