cmd/revid-cli: verbosity flag default to Info

This commit is contained in:
Saxon 2019-02-28 14:12:44 +10:30
parent b6a3e062b5
commit 589d922ddb
1 changed files with 0 additions and 2 deletions

View File

@ -156,8 +156,6 @@ func handleFlags() revid.Config {
cfg.LogLevel = logger.Error cfg.LogLevel = logger.Error
case "Fatal": case "Fatal":
cfg.LogLevel = logger.Fatal cfg.LogLevel = logger.Fatal
case "":
cfg.LogLevel = defaultLogVerbosity
default: default:
log.Log(logger.Error, pkg+"bad verbosity argument") log.Log(logger.Error, pkg+"bad verbosity argument")
} }