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-06 11:15:09 -0500
commit94b793b51f47273a0b19e108e4fcf9532b19a37b (patch)
tree5931fe4cbd74dff33da7649de9672744131c0fd0
parent73a36212ac066733a7c8c505808d42b79b309b0c (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")