Skip to content

Commit

Permalink
cmd: fix parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Dec 28, 2023
1 parent 9f4c183 commit 54d1b4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/hostd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func main() {
flag.StringVar(&cfg.HTTP.Address, "http", cfg.HTTP.Address, "address to serve API on")
// log
flag.StringVar(&cfg.Log.Level, "log.level", cfg.Log.Level, "log level (debug, info, warn, error)")
flag.Parse()

switch flag.Arg(0) {
case "version":
Expand Down

0 comments on commit 54d1b4e

Please sign in to comment.