diff options
| author | Jeff Carr <[email protected]> | 2025-10-28 09:40:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-28 09:40:47 -0500 |
| commit | 36d269f041abcc49bbdd754fb9f0c348283376e9 (patch) | |
| tree | a4aa4ea7a33b6be0f60a2d8029f0d45a9d9c49da /doStats.go | |
| parent | 473cc8413b80c956474604f76c98ac1598280bb0 (diff) | |
cleanup argv options
Diffstat (limited to 'doStats.go')
| -rw-r--r-- | doStats.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |
