summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
committerJeff Carr <[email protected]>2025-10-26 10:06:13 -0500
commita75e4796680ecf33b74db60b6b780d6e7e6cc0f3 (patch)
treec53b12dc434b1b4d32edb6356388ea181efb4de2 /main.go
parent7f6a5e689d5dee439a037ef815eaee24867c5f84 (diff)
new argv (much better than before)v0.0.129
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index e0f7373..e94f7dc 100644
--- a/main.go
+++ b/main.go
@@ -15,7 +15,7 @@ var configSave bool
func main() {
me = new(mainType)
- me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args
+ argvpb.Init(&argv, APPNAME, BUILDTIME, VERSION) // adds shell auto-complete
me.forge, _ = forgepb.Init()
// figure out what directory we are running in
@@ -34,7 +34,7 @@ func main() {
badExit(nil, nil)
}
log.Info("todo: check return values here in go-mod-clean")
- me.argv.GoodExit("may have worked somewhat") // exits back to the shell via argv (with timing)
+ argvpb.GoodExit("may have worked somewhat") // exits back to the shell via argv (with timing)
}
// deletes all the git notes