summaryrefslogtreecommitdiff
path: root/doStats.go
diff options
context:
space:
mode:
Diffstat (limited to 'doStats.go')
-rw-r--r--doStats.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doStats.go b/doStats.go
index 05f6c50..8afcaa8 100644
--- a/doStats.go
+++ b/doStats.go
@@ -15,7 +15,7 @@ import (
"google.golang.org/protobuf/types/known/timestamppb"
)
-func doStats() (string, error) {
+func doStats(cmd *StatsCmd) (string, error) {
var allerr error
if argv.All {
for r := range me.forge.Repos.IterByFullPath() {
@@ -32,7 +32,7 @@ func doStats() (string, error) {
return "no repo", errors.New("working dir isn't a repo I know about")
}
- if argv.Verify.Stats.List {
+ if cmd.List {
s := repo.Stats()
s.SortPatchId()
// s.SortCtime()