Skip to content

Commit

Permalink
can specify number of events
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Apr 19, 2017
1 parent 8c0495b commit c8588e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/daytimer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func upcoming(c *cli.Context) error {
log.Fatal(err.Error())
}

events, err := daytimer.Upcoming(10)
events, err := daytimer.Upcoming(c.Int64("number"))
if err != nil {
log.Fatal(err.Error())
}
Expand Down

0 comments on commit c8588e4

Please sign in to comment.