Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/cli/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func newAlertListCmd() *cobra.Command {
cmd.Flags().BoolVar(&muted, "muted", false, "Show ever-muted only")
cmd.Flags().StringVar(&since, "since", "24h", "Start time")
cmd.Flags().StringVar(&until, "until", "now", "End time")
cmd.Flags().IntVar(&limit, "limit", 20, "Max results")
cmd.Flags().IntVar(&limit, "limit", 20, "Max results (max 100)")
cmd.Flags().IntVar(&page, "page", 1, "Page number")
cmd.Flags().StringVar(&fields, "fields", "", "Comma-separated fields to project in json/toon output (e.g. alert_id,title,alert_severity,created_at); ignored in table mode. Use to avoid dumping the full nested record.")

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/alert_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func newAlertEventListCmd() *cobra.Command {
cmd.Flags().StringVar(&integrationType, "integration-type", "", "Comma-separated integration types")
cmd.Flags().StringVar(&since, "since", "1h", "Start time")
cmd.Flags().StringVar(&until, "until", "now", "End time")
cmd.Flags().IntVar(&limit, "limit", 20, "Max results")
cmd.Flags().IntVar(&limit, "limit", 20, "Max results (max 100)")
cmd.Flags().IntVar(&page, "page", 1, "Page number")
cmd.Flags().StringVar(&fields, "fields", "", "Comma-separated fields to project in json/toon output (e.g. event_id,alert_id,event_severity,event_status,event_time,title); ignored in table mode. Defaults to these compact event fields. Long strings are truncated as needed to keep structured output below 16 KiB.")

Expand Down
2 changes: 1 addition & 1 deletion internal/cli/insight.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func newInsightIncidentsCmd() *cobra.Command {

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

return cmd
Expand Down