mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
add default table presenter
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ func setGlobalCliOptions() {
|
||||
// output & formatting options
|
||||
flag = "output"
|
||||
rootCmd.Flags().StringP(
|
||||
flag, "o", presenter.TextPresenter.String(),
|
||||
flag, "o", presenter.TablePresenter.String(),
|
||||
fmt.Sprintf("report output formatter, options=%v", presenter.Options),
|
||||
)
|
||||
if err := viper.BindPFlag(flag, rootCmd.Flags().Lookup(flag)); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user