update docs

This commit is contained in:
2023-11-28 10:22:12 +08:00
parent 0785d43ff1
commit 11bf18391e
2 changed files with 5 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ var config Config
func main() {
dbType := flag.String("dbtype", "sqlite", "Database type (sqlite or postgres)")
dbAddr := flag.String("database", "./db.sqlite", "Database address")
dbAddr := flag.String("database", "./db.sqlite", "Database address, if dbType is postgres, this is the DSN connection string")
configFile := flag.String("config", "./config.yaml", "Config file")
listenAddr := flag.String("addr", ":8888", "Listening address")
listMode := flag.Bool("list", false, "List all upstream")