mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
add exit on cli bind fails + copy update
This commit is contained in:
@@ -85,7 +85,9 @@ func (cfg *Application) Build() error {
|
||||
cfg.ScopeOpt = scopeOption
|
||||
|
||||
if cfg.Quiet {
|
||||
// quiet option trumps all other logging options
|
||||
// TODO: this is bad: quiet option trumps all other logging options
|
||||
// we should be able to quiet the consol logging and leave file logging alone...
|
||||
// ... this will be an enhancement for later
|
||||
cfg.Log.LevelOpt = zapcore.PanicLevel
|
||||
} else {
|
||||
if cfg.Log.Level != "" {
|
||||
|
||||
Reference in New Issue
Block a user