diff --git a/README.md b/README.md index 36cab05..165efc0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.go b/main.go index 785a813..0161898 100644 --- a/main.go +++ b/main.go @@ -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()