diff options
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 2 |
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) |
