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 f49adcd..8cc1963 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -40,7 +40,7 @@ func init() {
// 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{"--version", "list", "droplet"}
pb.SendStrings(base)
} else {