From 1da04d0f93155b565d74e66ef872de646304cf2a Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Sun, 30 Jun 2024 01:28:04 +0200 Subject: [PATCH] Adds the log limit flag to the repo command --- cmd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd.go b/cmd.go index 7008b1c..07856d8 100644 --- a/cmd.go +++ b/cmd.go @@ -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 {