summaryrefslogtreecommitdiff
path: root/complete.go
diff options
context:
space:
mode:
Diffstat (limited to 'complete.go')
-rw-r--r--complete.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/complete.go b/complete.go
index 6f6478a..4abd80e 100644
--- a/complete.go
+++ b/complete.go
@@ -21,11 +21,6 @@ var BUILDTIME string
// used for shell auto completion
var APPNAME string = "wit" // todo: get this from $0 ?
-func (args) MustParse() error {
- me.pp = arg.MustParseArgv(&argv)
- return nil
-}
-
/*
func (args) MustParse() error {
me.pp = arg.MustParse(&argv)
@@ -83,6 +78,11 @@ func (a args) DoAutoComplete() error {
return err
}
+func (args) MustParse() error {
+ me.pp = arg.MustParseArgv(&argv)
+ return nil
+}
+
func (args) Match() bool {
base := []string{"build", "upgrade", "git", "publish", "pb", "linux", "droplet", "test"}
base = append(base, "--version", "--force", "--all", "--dry-run", "--verbose")