summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 25818a4..894ca63 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,9 @@ func main() {
showtags(repo)
// v0.0.8
- printCommitsForTag(repo, "v0.22.2")
+ if argv.Tag != "" {
+ printCommitsForTag(repo, argv.Tag)
+ }
}
// lists the files in the git repo