mirror of https://bitbucket.org/ausocean/av.git
revid-cli: stopped using config.Verbosity and started using config.LogLevl to fix errors
This commit is contained in:
parent
b210530330
commit
3d85a4471a
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue