diff options
Diffstat (limited to 'complete.go')
| -rw-r--r-- | complete.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.go b/complete.go index 6189b1c..1f171bc 100644 --- a/complete.go +++ b/complete.go @@ -43,7 +43,7 @@ func (args) Exit() { } func (args) MustParse() error { - me.pp = arg.MustParse(&argv) + me.pp = arg.MustParseArgv(&argv) return nil } @@ -111,7 +111,7 @@ func (args) Match() bool { if argvpb.PB.GetCmd() == "" { // these are base autocomplete strings matches := []string{"clean", "commit", "merge", "patch", "normal", "pull", "rebuild", "generate", "config", "cache"} - matches = append(matches, "show", "add", "fixer", "dev", "verify", "mode", "gui", "whatchanged") + matches = append(matches, "show", "add", "dev", "verify", "mode", "gui", "whatchanged") matches = append(matches, "--version", "--force", "--all", "--verbose", "--help") fmt.Fprintf(argvpb.Stdout, "%s", strings.Join(matches, " ")) return true |
