mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-21 22:30:46 +08:00
fix(cli): fix typos (#41)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user