Skip to content

Commit

Permalink
doc: fix typo, Deperecated -> Deprecated (#2000)
Browse files Browse the repository at this point in the history
  • Loading branch information
callthingsoff authored Jul 20, 2023
1 parent 66b215b commit 60d056d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/man_docs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 60d056d

Please sign in to comment.