Documentation clean-up.

This commit is contained in:
Sean E. Russell 2020-05-24 13:56:25 -05:00
parent d1d8ac272b
commit 76236a0993
4 changed files with 2 additions and 3 deletions

View File

@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Command line help text is cleaned up.
- Version bump of gopsutil
- Prometheus client replaced by [VictoriaMetrics/metrics](https://github.com/VictoriaMetrics/metrics). This eliminated 6 indirect package dependencies and saved 3.5MB (25%) of the compiled binary size.
- Relicensed to MIT-3
### Removed

View File

@ -72,8 +72,6 @@ func parseArgs() error {
opflag.StringVarP(&conf.NetInterface, "interface", "i", "all", "Select network interface. Several interfaces can be defined using comma separated values. Interfaces can also be ignored using `!`")
opflag.StringVarP(&conf.ExportPort, "export", "x", conf.ExportPort, "Enable metrics for export on the specified port.")
opflag.BoolVarP(&conf.Mbps, "mbps", "", conf.Mbps, "Show network rate as mbps.")
// FIXME Where did this go??
//conf.Band = opflag.IntP("bandwidth", "B", 100, "Specify the number of bits per seconds.")
opflag.BoolVar(&conf.Test, "test", conf.Test, "Runs tests and exits with success/failure code.")
opflag.StringP("", "C", "", "Config file to use instead of default (MUST BE FIRST ARGUMENT)")
list := opflag.String("list", "", `List <devices|layouts|colorschemes|paths|keys>

View File

@ -8,7 +8,6 @@ import (
)
// FIXME: broken % under Linux. Doesn't reflect reality *at all*.
// FIXME: gotop CPU use high -- gopsutils again? Try rolling back.
func init() {
f := func(cpus map[string]int, iv time.Duration, l bool) map[string]error {
cpuCount, err := psCpu.Counts(l)

View File

@ -2,6 +2,7 @@
package devices
// TODO gopsutil team reports this is not needed; try getting rid of this dep
import smc "github.com/xxxserxxx/iSMC"
func init() {