diff options
| author | Jeff Carr <[email protected]> | 2025-10-17 15:43:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 15:43:30 -0500 |
| commit | 81dde3b0067315b3126438b220e5ab5026a74c20 (patch) | |
| tree | c6d53a70c5ef79f8673fc3992eedb9cc26614eef /main.go | |
| parent | 7b2263c9beaa63f041074b5cd21e692188a0a9e6 (diff) | |
argv moved to protobuf location
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -8,7 +8,7 @@ import ( "time" "go.wit.com/lib/config" - "go.wit.com/lib/gui/prep" + "go.wit.com/lib/protobuf/argvpb" "go.wit.com/lib/protobuf/httppb" "go.wit.com/lib/protobuf/zoopb" "go.wit.com/log" @@ -21,8 +21,7 @@ var ARGNAME string = "zookeeper" func main() { me = new(mainType) - me.myGui = prep.Gui() // prepares the GUI package for go-args - me.auto = prep.Bash3(&argv) // add support for bash autocomplete with go-arg + me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args if argv.Daemon { // turn off timestamps for STDOUT (systemd adds them) |
