require dash
parent
7a4a84f70f
commit
919d6a73fe
|
@ -111,7 +111,7 @@ func getConfig(c *cli.Context) (string, *mastodon.Config, error) {
|
||||||
var file string
|
var file string
|
||||||
profile := c.String("profile")
|
profile := c.String("profile")
|
||||||
if profile != "" {
|
if profile != "" {
|
||||||
file = filepath.Join(dir, "settings"+profile+".json")
|
file = filepath.Join(dir, "settings-"+profile+".json")
|
||||||
} else {
|
} else {
|
||||||
file = filepath.Join(dir, "settings.json")
|
file = filepath.Join(dir, "settings.json")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue