summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
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...)