We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c56529 commit 23a6403Copy full SHA for 23a6403
cmd/src-fingerprint/main.go
@@ -98,6 +98,11 @@ func main() {
98
Value: false,
99
Usage: "verbose logging",
100
},
101
+ &cli.BoolFlag{
102
+ Name: "debug",
103
+ Value: false,
104
+ Usage: "debug logging, override verbose",
105
+ },
106
&cli.BoolFlag{
107
Name: "include-forked-repos",
108
@@ -185,7 +190,9 @@ func main() {
185
190
}
186
191
187
192
func mainAction(c *cli.Context) error {
188
- if c.Bool("verbose") {
193
+ if c.Bool("debug") {
194
+ log.SetLevel(log.DebugLevel)
195
+ } else if c.Bool("verbose") {
189
196
log.SetLevel(log.InfoLevel)
197
} else {
198
log.SetLevel(log.WarnLevel)
0 commit comments