summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 20:13:43 -0500
committerJeff Carr <[email protected]>2025-09-25 21:04:06 -0500
commit77f95fe0ad5d9916917ca139a7fb788c70e8877a (patch)
tree86bf9a6ecfc7b4242a38051feaba4372bffc69d0 /main.go
parent192234aa6bb9e454961336729f600b6d1915968b (diff)
doRepos()
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.go b/main.go
index ac905b3..48d132c 100644
--- a/main.go
+++ b/main.go
@@ -36,7 +36,14 @@ func main() {
}
if argv.Patch != nil {
- if err := doPatches(); err == nil {
+ if err := doPatches(); err != nil {
+ badExit(err)
+ }
+ okExit("")
+ }
+
+ if argv.Repos != nil {
+ if err := doRepos(); err != nil {
badExit(err)
}
okExit("")