diff options
| -rw-r--r-- | argv.go | 1 | ||||
| -rw-r--r-- | complete.go | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -22,7 +22,6 @@ type args struct { Dev *DevCmd `arg:"subcommand:dev" help:"features under development"` Mode *ModeCmd `arg:"subcommand:mode" help:"sets the mode (hacking, merging, publishing)"` Cache *CacheCmd `arg:"subcommand:cache" help:"chose the cache of repos to work with"` - Verify *VerifyCmd `arg:"subcommand:verify" help:"populate stats"` Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` Add *EmptyCmd `arg:"subcommand:add" help:"Scan directores for git repos"` Whatchanged *EmptyCmd `arg:"subcommand:whatchanged" ` 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 |
