Skip to content

Commit

Permalink
server/config.go: replace "v" with "version" (#404)
Browse files Browse the repository at this point in the history
close #386
  • Loading branch information
overvenus committed Nov 30, 2016
1 parent fb15aad commit 6885ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func NewConfig() *Config {
cfg.FlagSet = flag.NewFlagSet("pd", flag.ContinueOnError)
fs := cfg.FlagSet

fs.BoolVar(&cfg.Version, "v", false, "print version information and exit")
fs.BoolVar(&cfg.Version, "version", false, "print version information and exit")
fs.StringVar(&cfg.configFile, "config", "", "Config file")

fs.StringVar(&cfg.Name, "name", defaultName, "human-readable name for this pd member")
Expand Down

0 comments on commit 6885ac5

Please sign in to comment.