diff options
| author | Jeff Carr <[email protected]> | 2025-01-28 21:56:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 12:18:16 -0600 |
| commit | bbf5f79acb6d17239a492effb4e2cdb15ef20579 (patch) | |
| tree | 76eaaa12e26bf063892d572e9d3d2f57cd45607e /main.go | |
| parent | 438a8812f6cbd83556ad2d146068e8eca37ca2f4 (diff) | |
simple shortcut
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -79,6 +79,10 @@ func main() { } if argv.Clean != nil { + if argv.Clean.Repo != "" { + log.Info("only looking at repo:", argv.Clean.Repo) + okExit("") + } if argv.Clean.Examine != nil { if err := doExamine(); err != nil { badExit(err) @@ -159,11 +163,13 @@ func main() { log.Info(i, line) } } - if argv.Patch.Show != nil { - findReposWithPatches() - me.forge.PrintHumanTable(me.found) - + findReposWithPatches() + if me.found.Len() == 0 { + log.Info("you have no patches in your user branches") + okExit("patch list empty") } + me.forge.PrintHumanTable(me.found) + okExit("patch list") } |
