From 71a5b271a83ff87e771d182e3f1376d1163457ef Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 24 Sep 2025 22:17:27 -0500 Subject: redoing argv handling --- doPatch.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doPatch.go') diff --git a/doPatch.go b/doPatch.go index 093ba24..8ac79f2 100644 --- a/doPatch.go +++ b/doPatch.go @@ -60,7 +60,7 @@ func doPatchSubmit() error { func doPatch() error { if argv.Patch.Repos != nil { - dumpWorkRepos() + showWorkRepos() return nil } @@ -179,7 +179,7 @@ func doPatch() error { // if nothing, show patches & dirty repos me.forge.Patchsets.PrintTable() - dumpWorkRepos() + showWorkRepos() return nil } @@ -189,7 +189,7 @@ func doPatch() error { // - repos with awaiting master branch verions // // return true if any are found -func dumpWorkRepos() bool { +func showWorkRepos() bool { // always run dirty first me.forge.CheckDirtyQuiet() @@ -207,7 +207,7 @@ func dumpWorkRepos() bool { // returns bad if patches can not be applied // logic is not great here but it was a first pass -func dumpPatchset(pset *forgepb.Set) bool { +func showPatchset(pset *forgepb.Set) bool { // don't even bother to continue if we already know it's broken if pset.State == "BROKEN" { log.Printf("Patchset Name: %-24s Author: %s <%s> IS BAD\n", pset.Name, pset.GetGitAuthorName(), pset.GetGitAuthorEmail()) -- cgit v1.2.3