summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/telnet.go
diff options
context:
space:
mode:
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
}