make categories uppercase

This commit is contained in:
Anton Evangelatov 2021-02-10 14:38:42 +01:00
parent 5a3b983954
commit 044972ebdc

View File

@ -324,6 +324,6 @@ var Commands = []*cli.Command{
}
func WithCategory(cat string, cmd *cli.Command) *cli.Command {
cmd.Category = cat
cmd.Category = strings.ToUpper(cat)
return cmd
}