Skip to content

Commit

Permalink
fix: Remove duplicate default from help
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Czernek committed Aug 3, 2020
1 parent 81388ac commit f5fd87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func getDefaultConfigPath() string {
}

func parseCmdFlags() {
flag.StringVar(&configPath, "c", getDefaultConfigPath(), "A path to the YAML configuration file (default: "+getDefaultConfigPath()+")")
flag.StringVar(&configPath, "c", getDefaultConfigPath(), "A path to the YAML configuration file")
flag.Parse()
}

Expand Down

0 comments on commit f5fd87f

Please sign in to comment.