Adds the log limit flag to the repo command
This commit is contained in:
parent
c05277f234
commit
1da04d0f93
1 changed files with 2 additions and 1 deletions
3
cmd.go
3
cmd.go
|
@ -9,7 +9,8 @@ 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 {
|
||||||
|
|
Loading…
Reference in a new issue