summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:45:08 -0500
committerJeff Carr <[email protected]>2025-10-24 11:45:08 -0500
commit675546c0a0210e109211011df7fa39515b4928fc (patch)
treebdccf939e0e9fd46c32c7f8a2e34b4ee4ca8d6a4
parentcd5d168c5c7bafc43a986ba5f03bb9334e334c6e (diff)
new argv.protov0.22.168
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index ecea979..0c4d6e1 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -34,7 +34,7 @@ this is a work in progress`
// sends the strings to bash or zsh that will be your options
func (a args) SendCompletionStrings(pb *argvpb.Argv) {
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
base := []string{"dump", "gui", "show", "--version", "--keep-files", "--buildversion"}
pb.SendStrings(base)
} else {