Merged in av-logging-update (pull request #61)

revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors
This commit is contained in:
Saxon Milton 2018-09-22 05:52:02 +00:00
commit 49e8220a25
1 changed files with 2 additions and 2 deletions

View File

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