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 75d4327..ce58303 100644
--- a/argv.custom.go
+++ b/argv.custom.go
@@ -36,7 +36,7 @@ func (args) Appname() string {
func (a args) DoAutoComplete(pb *argvpb.Argv) {
// fmt.Fprintf(os.Stderr, "blah\n")
// fmt.Fprintf(os.Stderr, "\n")
- if pb.Cmd == "" {
+ if pb.GetCmd() == "" {
pb.SendStrings([]string{"--dry-run", "--non-recursive", "--work", "--version"})
} else {
pb.SubCommand(pb.Goargs...)