Skip to content

Commit

Permalink
Merge pull request #21 from taikx4/flag-parse
Browse files Browse the repository at this point in the history
Fix parsing the command-line flags
  • Loading branch information
karmanyaahm authored Nov 30, 2021
2 parents bc7e94a + a2bfa9c commit e6077ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var configFile = flag.String("c", "config.toml", "path to toml file for config")
var handlers = []Handler{}

func main() {
flag.Parse()
err := ParseConf(*configFile)
if err != nil {
log.Fatalln(err)
Expand Down

0 comments on commit e6077ee

Please sign in to comment.