summaryrefslogtreecommitdiff
path: root/src/rhctl/telnet.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/telnet.go')
-rw-r--r--src/rhctl/telnet.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rhctl/telnet.go b/src/rhctl/telnet.go
index 98dce0d..43e571e 100644
--- a/src/rhctl/telnet.go
+++ b/src/rhctl/telnet.go
@@ -252,8 +252,11 @@ func telnetHelp(c *telgo.Client, args []string) bool {
return false
case "switch":
c.Sayln("usage: switch <cmd> [ [ <arg1> ] ... ]")
- c.Sayln(" send commands to tha audio switch directly.")
- // TODO: print help text for raw switch commands
+ c.Sayln(" send commands to tha audio switch directly. Possible commands:")
+ help := SwitchCommandHelp()
+ for _, line := range help {
+ c.Sayln(" %s", line)
+ }
return false
}
fallthrough