Skip to content

Commit

Permalink
fix(cli): fix typos (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
TardC authored Dec 22, 2021
1 parent a59540d commit 8e96962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ func Start() {
conf.Addr = c.String("addr")
}
if c.String("token") != "" {
conf.Addr = c.String("token")
conf.Token = c.String("token")
}
if c.String("db") != "" {
conf.Database = c.String("db")
}
if c.String("log") != "" {
conf.Database = c.String("log")
conf.LogLevel = c.String("log")
}
server.New(conf).Run()
return nil
Expand Down

0 comments on commit 8e96962

Please sign in to comment.