diff options
| -rw-r--r-- | doPatch.go | 4 | ||||
| -rw-r--r-- | generate.go | 1 | ||||
| -rw-r--r-- | main.go | 4 |
3 files changed, 7 insertions, 2 deletions
@@ -235,11 +235,13 @@ func showWorkRepos() bool { // if no option is given to patch, list out the // repos that have patches ready in them found := findReposWithPatches() + found.SortNamespace() if found.Len() == 0 { log.Info("you currently have no repos with patches") return false } else { - me.forge.PrintDefaultTB(found) + footer := me.forge.PrintDefaultTB(found) + log.Info("repos with patches or unsaved changes:", footer) } return true } diff --git a/generate.go b/generate.go index 2bec892..9c81ddd 100644 --- a/generate.go +++ b/generate.go @@ -8,3 +8,4 @@ package main //go:generate forge dev --generate go.wit.com/lib/protobuf/guipb //go:generate forge dev --generate go.wit.com/lib/config //go:generate forge dev --generate go.wit.com/lib/gui/prep +//go:generate forge dev --generate go.wit.com/lib/protobuf/zoopb @@ -157,7 +157,9 @@ func main() { found := findRepos() if showUrls() { - me.forge.PrintForgedTable(found) + found.SortNamespace() + footer := me.forge.PrintForgedTable(found) + log.Info("repos with patches or unsaved changes:", footer) okExit("") } // print out the repos |
