Skip to content

Commit

Permalink
引数にショートハンドを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
umenosuke committed Jun 3, 2020
1 parent fd4dfd4 commit 223f08b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func init() {
flag.StringVar(&argConfigPath, "configPath", "", "config file path")
flag.BoolVar(&argShowConfigFlg, "printConfig", false, "show default config")
flag.BoolVar(&argShowVersionFlag, "version", false, "show version")
flag.BoolVar(&argShowVersionFlag, "v", false, "show version (shorthand)")

rand.Seed(time.Now().UnixNano())
}
Expand Down

0 comments on commit 223f08b

Please sign in to comment.