You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().StringVarP(&opts.Format.FormatFlag, "output", "o", "tree", "[Deprecated] format in which to display referrers (table, json, or tree). tree format will also show indirect referrers")
115
+
cmd.Flags().StringVarP(&opts.Format.FormatFlag, "output", "o", "tree", "[Deprecated] format in which to display referrers (table, json, or tree).")
105
116
cmd.Flags().BoolVarP(&opts.verbose, "verbose", "v", false, "display full metadata of referrers")
117
+
cmd.Flags().IntVarP(&opts.depth, "depth", "", 0, "[Experimental] level of referrers to display, if unused shows referrers of all levels")
106
118
opts.SetTypes(
107
119
option.FormatTypeTree,
108
120
option.FormatTypeTable,
109
-
option.FormatTypeJSON.WithUsage("Get direct referrers and output in JSON format"),
110
-
option.FormatTypeGoTemplate.WithUsage("Print direct referrers using the given Go template"),
121
+
option.FormatTypeJSON.WithUsage("Get referrers and output in JSON format"),
122
+
option.FormatTypeGoTemplate.WithUsage("Print referrers using the given Go template"),
0 commit comments