aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-01-29 20:54:38 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-01-29 20:54:38 -0800
commit23d2d9109f060978705f3c7a8d2f8691b6f9107f (patch)
tree3cf100bf1ff6db933d6f7e80221a8ac93447adcd /cli
parentc8138351c9737e3286a128c78f39e4f8a23e7bc9 (diff)
Add the possiblity to enable debug mode with an environment variable
Diffstat (limited to 'cli')
-rw-r--r--cli/cli.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cli.go b/cli/cli.go
index ebcb83d..1e5a13a 100644
--- a/cli/cli.go
+++ b/cli/cli.go
@@ -63,7 +63,7 @@ func Parse() {
return
}
- if *flagDebugMode {
+ if *flagDebugMode || cfg.HasDebugMode() {
logger.EnableDebug()
}