remove dash from options

master
dingjun 8 years ago
parent f9fed80fd6
commit 8024e968ad

@ -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 {

Loading…
Cancel
Save