From a6e6d848d6f719710a43ca015027bd93befb721d Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Mon, 8 Mar 2021 02:25:01 +0300 Subject: add cmd, hook, socket help --- pkg/server/status.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkg/server/status.go') diff --git a/pkg/server/status.go b/pkg/server/status.go index 4689274..d8f01c6 100644 --- a/pkg/server/status.go +++ b/pkg/server/status.go @@ -5,11 +5,9 @@ import ( ) func status(r *request) { - r.expect() - r.Printf("since %s", r.c.s.since.Format(config.TimeFormat)) } func init() { - newCmd(status, "status") + newCmd("status", status, "") } -- cgit v1.2.3-70-g09d2