summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-14 10:46:26 -0500
committerJeff Carr <[email protected]>2025-10-14 10:46:26 -0500
commit87cb75966a79788f7c6192c0397b92c09114b104 (patch)
treea6888c955c107166ebfc90fc3f6ec60ac1b7b34f /main.go
parentbaebea24dd4c7bbbbef2b1aaa7c230e43cacf4e4 (diff)
riscv64 builds should workv0.22.164
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.go b/main.go
index 7d86cc8..ce49aa6 100644
--- a/main.go
+++ b/main.go
@@ -23,14 +23,18 @@ var argv args
func main() {
me = new(mainType)
- me.myGui = prep.Gui() // prepares the GUI package for go-args
- me.auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv)
+ me.sh = prep.Autocomplete(&argv) // adds shell auto complete to go-args
wd, err := os.Getwd()
if err != nil {
badExit(err)
}
+ if argv.Arch == "" {
+ // looking forward to the day when this default is "riscv64"
+ argv.Arch = "amd64"
+ }
+
me.repo, err = gitpb.NewRepo(wd)
if err != nil {
badExit(err)