Fix typos

This commit is contained in:
Jarno Rankinen 2024-03-07 21:20:40 +02:00
parent 5458c3ba86
commit d9fbbfac1c
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ has been used.
Username for HTTP Basic Authentication (default "pingvin")
```
On first run, the daemon generates `~/.config/enervent-ctrl/configuration.yaml` with default values.
Configuration options are the same as with CLI flags. CLI flags take precedenence over the config file.
Configuration options are the same as with CLI flags. CLI flags take precedence over the config file.
- `serial_address:` Path to RS-485 serial device
- `port:` TCP port for the REST API to listen on
- `ssl_certificate:` Path to SSL certificate for HTTPS

View File

@ -155,7 +155,7 @@ func initDefaultConfig(confpath string) {
}
}
// Read configuration. CLI flags take presedence over configuration file
// Read configuration. CLI flags take precedence over configuration file
func configure() {
log.Println("Reading configuration")
parseConfigFile()