From 7e0f11f851eb2ae0797ae9e6215eaf9643762042 Mon Sep 17 00:00:00 2001 From: Bertrand Moreau Date: Fri, 21 Aug 2020 12:29:00 +0200 Subject: [PATCH] settings.json default value --- main.go | 2 +- readme.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 54a03d9..b598480 100644 --- a/main.go +++ b/main.go @@ -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() diff --git a/readme.md b/readme.md index d64a5c4..76d7c0a 100644 --- a/readme.md +++ b/readme.md @@ -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