From 8024e968ad37ed74568afb6ecbd4e1677a850d21 Mon Sep 17 00:00:00 2001 From: dingjun Date: Fri, 23 Dec 2016 14:09:00 +0800 Subject: [PATCH] remove dash from options --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 2c6f5aa..22f2169 100644 --- a/server.go +++ b/server.go @@ -28,7 +28,7 @@ func initListeners(c *conf) { func main() { var configfile string - flag.StringVar(&configfile, "-c", "config.yaml", "config file") + flag.StringVar(&configfile, "c", "config.yaml", "config file") flag.Parse() c, err := loadConfig(configfile) if err != nil {