From 919d6a73fe2dabbbf8e894b5674944abce603194 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 24 Apr 2017 17:49:56 +0900 Subject: [PATCH] require dash --- cmd/mstdn/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mstdn/main.go b/cmd/mstdn/main.go index 4226be3..6a0c78c 100644 --- a/cmd/mstdn/main.go +++ b/cmd/mstdn/main.go @@ -111,7 +111,7 @@ func getConfig(c *cli.Context) (string, *mastodon.Config, error) { var file string profile := c.String("profile") if profile != "" { - file = filepath.Join(dir, "settings"+profile+".json") + file = filepath.Join(dir, "settings-"+profile+".json") } else { file = filepath.Join(dir, "settings.json") }