From 6daf6932469ecf60689843953bbcbe93a9879156 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Tue, 15 Mar 2022 11:05:45 -0500 Subject: [PATCH] Fixes #207 --- build/gotop.conf | 2 +- config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/gotop.conf b/build/gotop.conf index 20423ab..5ab6308 100644 --- a/build/gotop.conf +++ b/build/gotop.conf @@ -10,7 +10,7 @@ updateinterval=1000000000 averagecpu=false # If true, show load per CPU percpuload=true -# Temperature units. C for Celcius, F for Fahrenheit +# Temperature units. C for Celsius, F for Fahrenheit tempscale=C # If true, display a status bar statusbar=false diff --git a/config.go b/config.go index 7ff2947..1e66d75 100644 --- a/config.go +++ b/config.go @@ -241,7 +241,7 @@ func marshal(c *Config) []byte { fmt.Fprintf(buff, "%s=%t\n", averagecpu, c.AverageLoad) fmt.Fprintln(buff, "# If true, show load per CPU") fmt.Fprintf(buff, "%s=%t\n", percpuload, c.PercpuLoad) - fmt.Fprintln(buff, "# Temperature units. C for Celcius, F for Fahrenheit") + fmt.Fprintln(buff, "# Temperature units. C for Celsius, F for Fahrenheit") fmt.Fprintf(buff, "%s=%c\n", tempscale, c.TempScale) fmt.Fprintln(buff, "# If true, display a status bar") fmt.Fprintf(buff, "%s=%t\n", statusbar, c.Statusbar)