summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:44:32 -0500
committerJeff Carr <[email protected]>2025-10-24 11:44:32 -0500
commit76fd8976018a40d4f452c99ad62419c86f44955d (patch)
tree855e36bd63c0b4bff695959aef8dc2549141f791
parentbb9c69801ab4c88d4a91e69d0e10e965d4ee3740 (diff)
new argv.protov0.5.32
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index 5480a34..3401eea 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -38,7 +38,7 @@ func (args) MatchClean() string {
// 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{"--bash", "--proto", "--regret", "--debug", "--renumber", "--reformat", "--delete", "--dry-run"}
pb.SendStrings(base)
} else {