Adds the log limit flag to the repo command

This commit is contained in:
Miguel de la Cruz 2024-06-30 01:28:04 +02:00
parent c05277f234
commit 1da04d0f93

1
cmd.go
View file

@ -10,6 +10,7 @@ func (i *indexCmd) Run() error {
type repoCmd struct { type repoCmd struct {
Path string `arg:"" help:"The path to the repository."` Path string `arg:"" help:"The path to the repository."`
LogLimit int `short:"l" help:"The limit of commits to show in the log"`
} }
func (r *repoCmd) Run() error { func (r *repoCmd) Run() error {