spelling: deprecated
This commit is contained in:
parent
e58b2dbe92
commit
8ba68fc68a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue