From 3d85a4471ac3a07b1fdb0efb5540dc2fd81c6b65 Mon Sep 17 00:00:00 2001 From: saxon Date: Sat, 22 Sep 2018 15:20:15 +0930 Subject: [PATCH] revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors --- cmd/revid-cli/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 01dc3d4d..3f11f042 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -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")