mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
cli: default to the new text presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
2e6aef17e1
commit
0a1f99503f
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user