diff options
| author | Eyal Posener <[email protected]> | 2017-05-06 20:07:50 +0300 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2017-05-06 20:24:53 +0300 |
| commit | f46c5f8a2808c5ade2f0b805a473765960250fe4 (patch) | |
| tree | 1165a98f6d513e878e74490d0bb8b97bd0ae5feb /command.go | |
| parent | dc4c327ae8cd5602ae10eeabde9bdf6fa5624286 (diff) | |
Change Predicate to be of function type
Diffstat (limited to 'command.go')
| -rw-r--r-- | command.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,13 +2,13 @@ package complete type Commands map[string]Command -type Flags map[string]*Predicate +type Flags map[string]Predicate type Command struct { Name string Sub Commands Flags Flags - Args *Predicate + Args Predicate } // options returns all available complete options for the given command |
