summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/telnet.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-12 00:30:33 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-12 00:30:33 +0100
commit4f74d9a56785fe754e9100b745109e1dca494e59 (patch)
treeae52d4dfa1daae2542be6036cb46a466ca37eb31 /cmd/dolmetschctld/telnet.go
parentsubscribing to controller events works now (diff)
more state
Diffstat (limited to 'cmd/dolmetschctld/telnet.go')
-rw-r--r--cmd/dolmetschctld/telnet.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/dolmetschctld/telnet.go b/cmd/dolmetschctld/telnet.go
index a7ede85..8ea6a61 100644
--- a/cmd/dolmetschctld/telnet.go
+++ b/cmd/dolmetschctld/telnet.go
@@ -79,7 +79,10 @@ func telnetCmdState(c *telgo.Client, args []string, sm *StateMachine) bool {
c.Sayln("usage: state")
return false
}
- c.Sayln("current state: %s", sm.GetState())
+ state, ratio, lang := sm.GetState()
+ c.Sayln("current state: %s", state)
+ c.Sayln("current ratio: %s", ratio)
+ c.Sayln("current language: %s", lang)
return false
}