From 54cf91e5c7be58fecd9b4f40737fb4e0b121e18f Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Thu, 20 Jul 2023 21:22:24 +0800 Subject: [PATCH] doc: fix typo, Deperecated -> Deprecated --- doc/man_docs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/man_docs_test.go b/doc/man_docs_test.go index c111d455f..a4435e6e4 100644 --- a/doc/man_docs_test.go +++ b/doc/man_docs_test.go @@ -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"))