diff 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() |
