From e8d05fa8067df214ba1b20982a27a48070332697 Mon Sep 17 00:00:00 2001 From: alicektx Date: Wed, 9 Sep 2020 16:10:49 +0300 Subject: Update main.go --- cmd/gotop/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index c917fc7..fd2dc81 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -65,7 +65,7 @@ func parseArgs() error { versioN := opflag.BoolP("", "V", false, "Print version and exit.") opflag.BoolVarP(&conf.PercpuLoad, "percpu", "p", conf.PercpuLoad, "Show each CPU in the CPU widget.") opflag.BoolVarP(&conf.AverageLoad, "averagecpu", "a", conf.AverageLoad, "Show average CPU in the CPU widget.") - fahrenheit := opflag.BoolP("fahrenheit", "f", conf.TempScale == 'F', "Show temperatures in fahrenheit.Show temperatures in fahrenheit.") + fahrenheit := opflag.BoolP("fahrenheit", "f", conf.TempScale == 'F', "Show temperatures in fahrenheit.") opflag.BoolVarP(&conf.Statusbar, "statusbar", "s", conf.Statusbar, "Show a statusbar with the time.") opflag.DurationVarP(&conf.UpdateInterval, "rate", "r", conf.UpdateInterval, "Refresh frequency. Most time units accepted. `1m` = refresh every minute. `100ms` = refresh every 100ms.") opflag.StringVarP(&conf.Layout, "layout", "l", conf.Layout, `Name of layout spec file for the UI. Use "-" to pipe.`) @@ -506,7 +506,8 @@ const _colorschemes = `Built-in colorschemes: solarized16-dark solarized16-light monokai - vice` + vice + nord` const _widgets = `Widgets that can be used in layouts: cpu - CPU load graph mem - Physical & swap memory use graph -- cgit v1.2.3