summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-08 06:43:45 -0600
committerJeff Carr <[email protected]>2024-11-08 06:43:45 -0600
commit29551667f0c1bca602870caba5921d3abcbe992e (patch)
tree30ac8b894c973d3a01148fc74f7b8ae70e012252 /human.go
parentca00923762acf87139188c7fc6eac9f67107d7fe (diff)
use go-cmd/cmdv0.22.12
Diffstat (limited to 'human.go')
-rw-r--r--human.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/human.go b/human.go
index 7954c42..3cc02d6 100644
--- a/human.go
+++ b/human.go
@@ -23,9 +23,9 @@ func (r *RepoRow) StandardHeader() string {
user := r.Status.GetUserVersion()
header := fmt.Sprintf("%-35s %5s %-10s %-10s %-20s %-20s %-20s %-15s",
- r.Name(), shell.FormatDuration(dur),
+ r.Name(), shell.FormatDuration(dur),
lastTag, target,
- master, devel, user,
+ master, devel, user,
r.State())
return header
}
@@ -51,14 +51,14 @@ func (v *RepoList) PrintReport(readonly string, onlydirty string, perfect string
header := repo.StandardHeader()
if onlydirty == "true" {
if repo.CheckDirty() {
- log.Info(header+"")
+ log.Info(header + "")
}
continue
}
if repo.ReadOnly() {
if readonly == "true" {
- log.Info(header+"readonly")
+ log.Info(header + "readonly")
}
continue
}
@@ -68,14 +68,14 @@ func (v *RepoList) PrintReport(readonly string, onlydirty string, perfect string
}
}
if repo.State() != "merge to main" {
- log.Info(header+"")
+ log.Info(header + "")
continue
}
if repo.CheckDirty() {
- log.Info(header+"")
+ log.Info(header + "")
continue
}
- log.Info(header+"")
+ log.Info(header + "")
}
log.Info(fmt.Sprintf("EVERYTHING WORKED repo count = %d", count))
}