Use a better method to reload command presets
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
// New creates a new commands group
|
||||
func New() command.Commands {
|
||||
return command.Commands{
|
||||
command.Register(newTelnet, parseTelnetConfig),
|
||||
command.Register(newSSH, parseSSHConfig),
|
||||
command.Register("Telnet", newTelnet, parseTelnetConfig),
|
||||
command.Register("SSH", newSSH, parseSSHConfig),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user