summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/senpai/main.go2
-rw-r--r--cmd/test/main.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/senpai/main.go b/cmd/senpai/main.go
index 675228f..665cacc 100644
--- a/cmd/senpai/main.go
+++ b/cmd/senpai/main.go
@@ -34,7 +34,7 @@ func main() {
if err != nil {
panic(err)
}
- configPath = path.Join(configDir, "senpai", "senpai.yaml")
+ configPath = path.Join(configDir, "senpai", "senpai.scfg")
}
cfg, err := senpai.LoadConfigFile(configPath)
diff --git a/cmd/test/main.go b/cmd/test/main.go
index 804937f..6eb0574 100644
--- a/cmd/test/main.go
+++ b/cmd/test/main.go
@@ -108,7 +108,7 @@ func parseFlags() {
if err != nil {
panic(err)
}
- configPath = path.Join(configDir, "senpai", "senpai.yaml")
+ configPath = path.Join(configDir, "senpai", "senpai.scfg")
}
cfg, err := senpai.LoadConfigFile(configPath)
@@ -121,6 +121,6 @@ func parseFlags() {
if cfg.Password != nil {
password = *cfg.Password
}
- useTLS = !cfg.NoTLS
+ useTLS = cfg.TLS
}
}