SetHelpFunc sets help function. Can be defined by Application.
(f func(*Command, []string))
| 331 | |
| 332 | // SetHelpFunc sets help function. Can be defined by Application. |
| 333 | func (c *Command) SetHelpFunc(f func(*Command, []string)) { |
| 334 | c.helpFunc = f |
| 335 | } |
| 336 | |
| 337 | // SetHelpCommand sets help command. |
| 338 | func (c *Command) SetHelpCommand(cmd *Command) { |
no outgoing calls