summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-04-22 13:33:51 -0500
committerSean E. Russell <ser@ser1.net>2020-04-22 13:33:51 -0500
commit3fcab5a42054c84895c4f6da5097360d35414fde (patch)
tree16cbf4e8c9a5be1d52ab8476c00abdfaac9586e1 /cmd
parentdfa7098ad87e645638a52d384eebb178111d073a (diff)
Switch from smc.c to iSMC.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotop/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index 5728128..f44d7a2 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -38,7 +38,7 @@ const (
var (
// TODO: Set this at compile time; having to check this in sucks.
- Version = "3.6.0"
+ Version = "3.6.dev"
conf gotop.Config
help *w.HelpMenu
bar *w.StatusBar
@@ -51,6 +51,7 @@ var (
// TODO: state:deferred 157 FreeBSD fixes & Nvidia GPU support (kraust/master). Significant CPU use impact for NVidia changes.
// TODO: Virtual devices from Prometeus metrics @feature
// TODO: Abstract out the UI toolkit. mum4k/termdash, VladimirMarkelov/clui, gcla/gowid, rivo/tview, marcusolsson/tui-go might work better for some OS/Archs. Performance/memory use comparison would be interesting.
+// TODO: Add fans
func parseArgs(conf *gotop.Config) error {
cds := conf.ConfigDir.QueryFolders(configdir.All)
cpaths := make([]string, len(cds))