Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit edc545f

Browse files
authored
Merge pull request #1037 from jmank88/verbose_status
status: adding counts to verbose output
2 parents d895a66 + 4d53b51 commit edc545f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/dep/status.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ func runStatusAll(ctx *dep.Ctx, out outputter, p *dep.Project, sm gps.SourceMana
352352

353353
logger.Println("Checking upstream projects:")
354354

355-
for _, proj := range slp {
356-
logger.Println(proj.Ident().ProjectRoot)
355+
for i, proj := range slp {
356+
logger.Printf("(%d/%d) %s\n", i+1, len(slp), proj.Ident().ProjectRoot)
357357

358358
bs := BasicStatus{
359359
ProjectRoot: string(proj.Ident().ProjectRoot),
@@ -427,6 +427,7 @@ func runStatusAll(ctx *dep.Ctx, out outputter, p *dep.Project, sm gps.SourceMana
427427

428428
out.BasicLine(&bs)
429429
}
430+
logger.Println()
430431
out.BasicFooter()
431432

432433
return digestMismatch, hasMissingPkgs, nil

0 commit comments

Comments
 (0)