summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 11:44:53 -0500
committerJeff Carr <[email protected]>2025-10-24 11:44:53 -0500
commit1fc75cd8934b220db3814710c0a79d549fcf827f (patch)
tree5b2e34783896532aaa3e84d09d0427fd0077efde /argv.custom.go
parent58519f14654cb2dd5d1b938bae5dbdaba5c04a1a (diff)
new argv.protov0.25.99
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 127d9a5..855b458 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -91,7 +91,7 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) {
pb.SendStrings([]string{"once", "many", "mine", "favorites"})
os.Exit(0)
}
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
// these are base autocomplete strings
matches := []string{"clean", "commit", "merge", "patch", "normal", "pull", "rebuild", "generate", "config"}
matches = append(matches, "show", "add", "fixer", "dev", "verify", "mode", "gui", "whatchanged")