settings.json default value

This commit is contained in:
Bertrand Moreau 2020-08-21 12:29:00 +02:00
parent 0ae22cd44d
commit 7e0f11f851
2 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func main() {
flag.StringVar(&sKey, "k", "", "Stream key, to protect your stream")
flag.StringVar(&sAdminPass, "a", "", "Set admin password. Overrides configuration in settings.json. This will not write the password to settings.json.")
flag.BoolVar(&pullEmotes, "e", false, "Pull emotes")
flag.StringVar(&confFile, "f", "", "URI of the conf file")
flag.StringVar(&confFile, "f", "./settings.json", "URI of the conf file")
flag.Parse()
format.RegisterAll()

View File

@ -130,6 +130,8 @@ Usage of .\MovieNight.exe:
host:port of the MovieNight (default ":8089")
-r string
host:port of the RTMP server (default ":1935")
-f string
the settings file you want to use (default "./settings.json")
```
## Configuration