summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:44:40 -0500
committerJeff Carr <[email protected]>2025-10-24 11:44:40 -0500
commitf6b869612291bb14145ed58f2c5aeeb7156e3b51 (patch)
tree2415fb5effdf8c5d2c90dd70d6176a5c01cc8a0d /argv.custom.go
parentb939725f9441057ace43b3cb20bdbca3f3d1bcba (diff)
new argv.protov0.21.66
Diffstat (limited to 'argv.custom.go')
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index 1e8abac..00f8d7b 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -22,7 +22,7 @@ This basicwindow example demonstrates multiple windows
// 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() == "" {
// these are base autocomplete strings
matches := []string{"--bash", "--version", "demo", "gui"}
pb.SendStrings(matches)