change flag from version to v.
parent
3dc94a087f
commit
54cc956342
|
@ -23,7 +23,7 @@ const (
|
|||
|
||||
func main() {
|
||||
fileName := flag.String("config", "config.json.sample", "Config file")
|
||||
wantsVersion := flag.Bool("version", false, "Get version number")
|
||||
wantsVersion := flag.Bool("v", false, "Get version number")
|
||||
pidFile := flag.String("pidfile", "", "the pid file")
|
||||
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
|
Loading…
Reference in New Issue