diff --git a/github/github.go b/github/github.go index 6015250ab4f..aa52d6ee3e6 100644 --- a/github/github.go +++ b/github/github.go @@ -241,7 +241,8 @@ type ListCursorOptions struct { // This parameter must not be used in combination with last. First int `url:"first,omitempty"` - // For paginated result sets, the number of results to include per page starting from the last matching result. + // For paginated result sets, the number of results per page (max 100), starting from the last matching result. + // This parameter must not be used in combination with first. Last int `url:"last,omitempty"` // A cursor, as given in the Link header. If specified, the query only searches for events after this cursor.