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
jsonFlag=flagSet.Bool("json", false, "Whether or not to output results as JSON")
54
+
jsonFlag=flagSet.Bool("json", false, "Whether or not to output results as JSON.")
54
55
explainJSONFlag=flagSet.Bool("explain-json", false, "Explain the JSON output schema and exit.")
55
56
apiFlags=api.NewFlags(flagSet)
56
-
lessFlag=flagSet.Bool("less", true, "Pipe output to 'less -R' (only if stdout is terminal, and not json flag)")
57
-
streamFlag=flagSet.Bool("stream", false, "Consume results as stream.")
58
-
59
-
// Streaming.
60
-
_=flagSet.Int("display", -1, "Limit the number of results shown. Only supported for streaming.")
57
+
lessFlag=flagSet.Bool("less", true, "Pipe output to 'less -R' (only if stdout is terminal, and not json flag).")
58
+
streamFlag=flagSet.Bool("stream", false, "Consume results as stream. Streaming search only supports a subset of flags and parameters: trace, insecure-skip-verify, display.")
59
+
display=flagSet.Int("display", -1, "Limit the number of results that are displayed. Only supported together with stream flag. Statistics continue to report all results.")
flagSet.IntVar(&flags.display, "display", -1, "Limit the number of results that are displayed. Note that the statistics continue to report all results.")
0 commit comments