Skip to content

Commit

Permalink
rename to fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
muraty committed Oct 16, 2020
1 parent f68a872 commit 517c1f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ func init() {
}

var (
version = flag.Bool("version", false, "version")
configPath = flag.String("config", "config.toml", "config file path")
versionFlag = flag.Bool("version", false, "version")
configPath = flag.String("config", "config.toml", "config file path")
)

func main() {
flag.Parse()
if *version {
if *versionFlag {
fmt.Println(Version)
return
}
Expand Down

0 comments on commit 517c1f5

Please sign in to comment.