Skip to content

Commit

Permalink
fix -config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasf committed Apr 7, 2024
1 parent 4889146 commit c29d004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func main() {

ff.Parse(flag.CommandLine, os.Args[1:],
ff.WithEnvVarPrefix("BATTLR"),
ff.WithConfigFile("config"),
ff.WithConfigFileFlag("config"),
ff.WithConfigFileParser(ff.PlainParser),
)

Expand Down

0 comments on commit c29d004

Please sign in to comment.