Skip to content

Commit

Permalink
Handle loglevel compatibility with verbose opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Lefranc committed Jul 1, 2016
1 parent 3e3be59 commit 37f8423
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ func init() {
if verbose == true && loglevel == 0 {
loglevel = 1
}
if verbose == false && loglevel == 1 {
verbose = true
}
}

func main() {
Expand Down

0 comments on commit 37f8423

Please sign in to comment.