amend comments
Signed-off-by: Liam Hampton <liam.hampton@ibm.com>
This commit is contained in:
parent
f29ad2ad48
commit
0f11fc8f30
@ -1,6 +1,6 @@
|
|||||||
package cli
|
package cli
|
||||||
|
|
||||||
// CommandCategories allows for category manipulation
|
// CommandCategories interface allows for category manipulation
|
||||||
type CommandCategories interface {
|
type CommandCategories interface {
|
||||||
// AddCommand adds a command to a category, creating a new category if necessary.
|
// AddCommand adds a command to a category, creating a new category if necessary.
|
||||||
AddCommand(category string, command *Command)
|
AddCommand(category string, command *Command)
|
||||||
|
@ -48,7 +48,7 @@ func (m *multiError) Errors() []error {
|
|||||||
return errs
|
return errs
|
||||||
}
|
}
|
||||||
|
|
||||||
// ErrorFormatter is the interface that will format the error output
|
// ErrorFormatter is the interface that will suitably format the error output
|
||||||
type ErrorFormatter interface {
|
type ErrorFormatter interface {
|
||||||
Format(s fmt.State, verb rune)
|
Format(s fmt.State, verb rune)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user