summaryrefslogtreecommitdiff
path: root/doStats.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-28 09:40:47 -0500
committerJeff Carr <[email protected]>2025-10-28 09:40:47 -0500
commit36d269f041abcc49bbdd754fb9f0c348283376e9 (patch)
treea4aa4ea7a33b6be0f60a2d8029f0d45a9d9c49da /doStats.go
parent473cc8413b80c956474604f76c98ac1598280bb0 (diff)
cleanup argv options
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()