summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.custom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go
index 855b458..cdbe31c 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -99,7 +99,7 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) {
pb.SendStrings(matches)
} else {
// autogenerate the strings for the subcommand using github.com/alexflint/go-arg
- pb.GenerateSubCommandStrings(pb.Goargs...)
+ pb.GenerateSubCommandStrings(pb.Real...)
}
os.Exit(0)
}