add --tag
This commit is contained in:
parent
6a88e3bdef
commit
672e567aa1
1
argv.go
1
argv.go
|
@ -14,6 +14,7 @@ type args struct {
|
||||||
RepoPath string `arg:"--repo" default:"./" help:"path to the .git repo"`
|
RepoPath string `arg:"--repo" default:"./" help:"path to the .git repo"`
|
||||||
Hostname string `arg:"--hostname" help:"hostname to use"`
|
Hostname string `arg:"--hostname" help:"hostname to use"`
|
||||||
Refs bool `arg:"--refs" help:"list the git ref hashes"`
|
Refs bool `arg:"--refs" help:"list the git ref hashes"`
|
||||||
|
Tag string `arg:"--tag" help:"what tag name to walk"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (args) Version() string {
|
func (args) Version() string {
|
||||||
|
|
Loading…
Reference in New Issue