summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-04-06 11:15:09 -0500
committerSean E. Russell <ser@ser1.net>2020-04-16 08:46:57 -0500
commitbbf84b62a7e66a41c15a014d85c066159abfa3c5 (patch)
tree0ada52b06c42dbadc51128417bfbfa7ffbdffce8
parent84ec9e4e7ac0dc9fdf52badeb6fed0d45f38d1e2 (diff)
Include the log file path in the help text.
-rw-r--r--cmd/gotop/main.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index 52da589..fc2ac7a 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -81,10 +81,6 @@ Options:
--print-paths List out the paths that gotop will look for gotop.conf, layouts, color schemes, and extensions
--print-keys Show the keyboard bindings
-Colorschemes and layouts that are not built-in are searched for (in order) in:
-%s
-The first path in this list is always the cwd.
-
Built-in layouts:
default
minimal
@@ -99,7 +95,14 @@ Colorschemes:
solarized16-light
monokai
vice
-`, strings.Join(cpaths, ", "))
+
+Colorschemes and layouts that are not built-in are searched for (in order) in:
+%s
+The first path in this list is always the cwd.
+
+Log files are stored in %s
+
+`, strings.Join(cpaths, ", "), filepath.Join(conf.ConfigDir.QueryCacheFolder().Path, logging.LOGFILE))
var err error
conf.Colorscheme, err = colorschemes.FromName(conf.ConfigDir, "default")