cli: default to the new text presenter

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza 2020-06-19 15:48:32 -04:00
parent 2e6aef17e1
commit 0a1f99503f

View file

@ -28,7 +28,7 @@ func setCliOptions() {
// output & formatting options
flag = "output"
rootCmd.Flags().StringP(
flag, "o", presenter.JSONPresenter.String(),
flag, "o", presenter.TextPresenter.String(),
fmt.Sprintf("report output formatter, options=%v", presenter.Options),
)
if err := viper.BindPFlag(flag, rootCmd.Flags().Lookup(flag)); err != nil {