summaryrefslogtreecommitdiffstats
path: root/cmd_ping.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_ping.go')
-rw-r--r--cmd_ping.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd_ping.go b/cmd_ping.go
index c052649..48294ea 100644
--- a/cmd_ping.go
+++ b/cmd_ping.go
@@ -6,6 +6,10 @@ func (cmd *cmdPing) Name() string {
return "ping"
}
+func (cmd cmdPing) Help() string {
+ return "checks whether the connection is working"
+}
+
func (cmd *cmdPing) Run(_ *Goctl, _ []string) string {
return "pong"
}