Skip to content

Commit 99dc3dc

Browse files
committed
fix(cli): state the 100-row cap on insight incidents --limit too
Same shared page-query validator as alert/alert-event/incident list; same wording.
1 parent c778b0a commit 99dc3dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cli/insight.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func newInsightIncidentsCmd() *cobra.Command {
138138

139139
cmd.Flags().StringVar(&since, "since", "7d", "Start time")
140140
cmd.Flags().StringVar(&until, "until", "now", "End time")
141-
cmd.Flags().IntVar(&limit, "limit", 20, "Max results")
141+
cmd.Flags().IntVar(&limit, "limit", 20, "Max results (max 100)")
142142
cmd.Flags().IntVar(&page, "page", 1, "Page number")
143143

144144
return cmd

0 commit comments

Comments
 (0)