diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 6ca6ba68..05de1acf 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -184,6 +184,10 @@ func handleFlags() revid.Config { log.Log(logger.Error, pkg+"bad input codec argument") } + if len(outputs) == 0 { + cfg.Outputs = make([]uint8, 1) + } + for _, o := range outputs { switch o { case "File":