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 c1e1431..c6774a5 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -20,7 +20,7 @@ var APPNAME string = "mirrors" // todo: get this from $0
func (a args) SendCompletionStrings(pb *argvpb.Argv) {
base := []string{"--dry-run", "--force", "incoming", "walk", "list", "everything", "verify", "newest", "--create", "--verbose", "release"}
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
pb.SendStrings(base)
} else {
pb.SubCommand(pb.Goargs...)