summaryrefslogtreecommitdiff
path: root/doStats.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 14:03:46 -0500
committerJeff Carr <[email protected]>2025-10-16 14:03:46 -0500
commit79cfb6aa4bcdd01ac44268a144c851957e4e4fd3 (patch)
treee126abac03b497c50d6e00438712c1691a52f0d9 /doStats.go
parent536f90da363df9df6a20b9a960214cbb8bbe181e (diff)
show stats table
Diffstat (limited to 'doStats.go')
-rw-r--r--doStats.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/doStats.go b/doStats.go
index 2f42dbb..e4a012e 100644
--- a/doStats.go
+++ b/doStats.go
@@ -31,6 +31,12 @@ func doStats() (string, error) {
return "no repo", errors.New("working dir isn't a repo I know about")
}
+ if argv.Verify.Stats.List {
+ s := repo.Stats()
+ footer := s.PrintTable()
+ return "stats table: " + footer, nil
+ }
+
s, err := doStatsRepo(repo)
allerr = errors.Join(allerr, err)