summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-24 10:29:14 -0500
committerJeff Carr <[email protected]>2025-10-24 10:29:14 -0500
commit08f363db15952c41a433fa263940b27abcfb5615 (patch)
tree73f1ff41014f89ecd1983fedad12580bdbd6d6c2 /argv.custom.go
parentd858946501f58a932521b05534c0a1717476adba (diff)
still runsv0.1.49
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 4a9a582..b2ccd4c 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -83,7 +83,7 @@ func (a args) DoAutoComplete(pb *argvpb.Argv) {
base = append(base, "upgrade")
base = append(base, "rdate")
}
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
pb.SendStrings(base)
} else {
pb.SubCommand(pb.Goargs...)