From bbf84b62a7e66a41c15a014d85c066159abfa3c5 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Mon, 6 Apr 2020 11:15:09 -0500 Subject: Include the log file path in the help text. --- cmd/gotop/main.go | 13 ++++++++----- 1 file 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") -- cgit v1.2.3