summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'command.go')
-rw-r--r--command.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.go b/command.go
index 4fb08a5..15c4858 100644
--- a/command.go
+++ b/command.go
@@ -12,6 +12,8 @@ type Commander interface {
Help() string
}
+const maxLen = 500
+
var commands = make(map[string]Commander)
func Register(cmd string, f Commander) {