diff --git a/pkg/epoch/update.go b/pkg/epoch/update.go index c574736..39252fb 100644 --- a/pkg/epoch/update.go +++ b/pkg/epoch/update.go @@ -15,8 +15,9 @@ import ( ) type DownloadStats struct { - Updated int - Current int + Updated int + Current int + Outdated int } func Update(wowdir string, force bool, removeUnknown bool, skipDownload bool) (DownloadStats, error) { @@ -52,6 +53,8 @@ func Update(wowdir string, force bool, removeUnknown bool, skipDownload bool) (D fmt.Printf("File %s is up to date\n", localPath) stats.Current += 1 continue + } else { + stats.Outdated += 1 } } }