summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:45:13 -0500
committerJeff Carr <[email protected]>2025-10-24 11:45:13 -0500
commit85169c8fe61f3e9a5246bfed3fae77dc2937f31c (patch)
tree7275f12021d72952913f4aeeab77b959ac901092
parent7d9366740b6e1c04bc4b614f7d7222004247c791 (diff)
new argv.protov0.0.127
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index 3504984..f41830a 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -30,7 +30,7 @@ go-mod-clean will try to verify your go.* files are using the newest package ver
// 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{"strict", "--restore", "purge", "lax", "--version"}
pb.SendStrings(base)
} else {