Skip to content

Commit

Permalink
fix: now --config argument has default value
Browse files Browse the repository at this point in the history
to avoid strange error #307
  • Loading branch information
aereal committed Jul 21, 2021
1 parent 46d7812 commit e440045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ecspresso/main.go
Expand Up @@ -21,7 +21,7 @@ func main() {
func _main() int {
kingpin.Command("version", "show version")

conf := kingpin.Flag("config", "config file").String()
conf := kingpin.Flag("config", "config file").Default("ecspresso.yml").String()
debug := kingpin.Flag("debug", "enable debug log").Bool()
envFiles := kingpin.Flag("envfile", "environment files").Strings()

Expand Down

0 comments on commit e440045

Please sign in to comment.