Skip to content

Commit 72cdfc9

Browse files
authored
Merge pull request #6 from smlx/debug-env
feat: enable debug logging via env var
2 parents 3d62fb1 + dc8aead commit 72cdfc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sems_mitm_exporter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
// CLI represents the command-line interface.
1212
type CLI struct {
13-
Debug bool `kong:"help='Enable debug logging'"`
13+
Debug bool `kong:"env='DEBUG',help='Enable debug logging'"`
1414
Serve ServeCmd `kong:"cmd,default,help='Start the MITM server'"`
1515
Version VersionCmd `kong:"cmd,help='Print version information'"`
1616
}

0 commit comments

Comments
 (0)