remove dash from options

master
dingjun 8 years ago
parent f9fed80fd6
commit 8024e968ad

@ -28,7 +28,7 @@ func initListeners(c *conf) {
func main() { func main() {
var configfile string var configfile string
flag.StringVar(&configfile, "-c", "config.yaml", "config file") flag.StringVar(&configfile, "c", "config.yaml", "config file")
flag.Parse() flag.Parse()
c, err := loadConfig(configfile) c, err := loadConfig(configfile)
if err != nil { if err != nil {

Loading…
Cancel
Save