summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-09-26 10:52:04 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-09-26 11:00:50 +1000
commitd3c7cbeea76644f9955b67206a1440102b7e8b30 (patch)
tree4752fbabc4aaa3110a4a0abc45210a14cbce778d /main.go
parentf0a1544ebde246bbf5d28c300fa6e808041b66bc (diff)
better documentation
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index 668d8bab8..697129f80 100644
--- a/main.go
+++ b/main.go
@@ -36,14 +36,14 @@ func main() {
flaggy.Bool(&versionFlag, "v", "version", "Print the current version")
debuggingFlag := false
- flaggy.Bool(&debuggingFlag, "d", "debug", "Run in debug mode with logging")
+ flaggy.Bool(&debuggingFlag, "d", "debug", "Run in debug mode with logging (see --logs flag below). Use the LOG_LEVEL env var to set the log level (debug/info/warn/error)")
+
+ logFlag := false
+ flaggy.Bool(&logFlag, "l", "logs", "Tail lazygit logs (intended to be used when `lazygit --debug` is called in a separate terminal tab)")
configFlag := false
flaggy.Bool(&configFlag, "c", "config", "Print the default config")
- logFlag := false
- flaggy.Bool(&logFlag, "l", "logs", "Tail lazygit logs (intended to be used in a separate terminal tab to lazygit)")
-
flaggy.Parse()
if versionFlag {