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

3
cmd.go
View file

@ -9,7 +9,8 @@ func (i *indexCmd) Run() error {
}
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 {