revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors

This commit is contained in:
saxon 2018-09-22 15:20:15 +09:30
parent b210530330
commit 3d85a4471a
1 changed files with 2 additions and 2 deletions

View File

@ -248,9 +248,9 @@ func handleFlags() {
switch *configFlags[verbosityPtr] {
case "No":
config.Verbosity = revid.No
config.LogLevel = smartlogger.Fatal
case "Yes":
config.Verbosity = revid.Yes
config.LogLevel = smartlogger.Debug
case "":
default:
logger.Log(smartlogger.Error, pkg+"bad verbosity argument")