diff options
Diffstat (limited to 'argv.custom.go')
| -rw-r--r-- | argv.custom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/argv.custom.go b/argv.custom.go index 127d9a5..855b458 100644 --- a/argv.custom.go +++ b/argv.custom.go @@ -91,7 +91,7 @@ func (a args) SendCompletionStrings(pb *argvpb.Argv) { pb.SendStrings([]string{"once", "many", "mine", "favorites"}) os.Exit(0) } - if pb.Cmd == "" { + if pb.GetCmd() == "" { // these are base autocomplete strings matches := []string{"clean", "commit", "merge", "patch", "normal", "pull", "rebuild", "generate", "config"} matches = append(matches, "show", "add", "fixer", "dev", "verify", "mode", "gui", "whatchanged") |
