Skip to content

Commit ff14421

Browse files
authored
Merge pull request #147 from flashcatcloud/feed-limit-cap
fix(cli): state the 100-row server cap in incident feed and alert timeline --limit flag help
2 parents 1fe23b0 + 3f1b6ac commit ff14421

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎internal/cli/alert.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func newAlertTimelineCmd() *cobra.Command {
285285
},
286286
}
287287

288-
cmd.Flags().IntVar(&limit, "limit", 20, "Max events")
288+
cmd.Flags().IntVar(&limit, "limit", 20, "Max events (max 100)")
289289
cmd.Flags().IntVar(&page, "page", 1, "Page number")
290290

291291
return cmd

‎internal/cli/incident.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ func newIncidentFeedCmd() *cobra.Command {
15061506
},
15071507
}
15081508

1509-
cmd.Flags().IntVar(&limit, "limit", 20, "Max events")
1509+
cmd.Flags().IntVar(&limit, "limit", 20, "Max events (max 100)")
15101510
cmd.Flags().IntVar(&page, "page", 1, "Page number")
15111511

15121512
return cmd

0 commit comments

Comments
 (0)