fixed key-file parsing

This commit is contained in:
David Zhao committed 2021-01-18 10:35:17 -08:00
1 parent 458241d1f1
commit 6552d5ebc8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ func (conf *Config) UpdateFromCLI(c *cli.Context) error {
conf.Development = c.Bool("dev")
}
if c.IsSet("key-file") {
conf.KeyFile = c.String("file")
conf.KeyFile = c.String("key-file")
}
if c.IsSet("keys") {
conf.Keys = make(map[string]string)