mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue