Fix typos
This commit is contained in:
parent
5458c3ba86
commit
d9fbbfac1c
|
@ -66,7 +66,7 @@ has been used.
|
||||||
Username for HTTP Basic Authentication (default "pingvin")
|
Username for HTTP Basic Authentication (default "pingvin")
|
||||||
```
|
```
|
||||||
On first run, the daemon generates `~/.config/enervent-ctrl/configuration.yaml` with default values.
|
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
|
- `serial_address:` Path to RS-485 serial device
|
||||||
- `port:` TCP port for the REST API to listen on
|
- `port:` TCP port for the REST API to listen on
|
||||||
- `ssl_certificate:` Path to SSL certificate for HTTPS
|
- `ssl_certificate:` Path to SSL certificate for HTTPS
|
||||||
|
|
2
main.go
2
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() {
|
func configure() {
|
||||||
log.Println("Reading configuration")
|
log.Println("Reading configuration")
|
||||||
parseConfigFile()
|
parseConfigFile()
|
||||||
|
|
Loading…
Reference in New Issue