diff options
| author | Eyal Posener <[email protected]> | 2017-05-07 07:59:42 +0300 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2017-05-07 07:59:42 +0300 |
| commit | fd5c13f7ed2e9a3e3a82fa6a4c6ffe649f3f32f2 (patch) | |
| tree | 796dca6d948ba247381b52744a2d4126268e83ff /gocomplete/complete.go | |
| parent | c94813be30b569795e953937612a7df5a0741861 (diff) | |
Remove Name from Command struct
Diffstat (limited to 'gocomplete/complete.go')
| -rw-r--r-- | gocomplete/complete.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gocomplete/complete.go b/gocomplete/complete.go index bdeecd1..4eab6a5 100644 --- a/gocomplete/complete.go +++ b/gocomplete/complete.go @@ -165,7 +165,6 @@ func main() { } gogo := complete.Command{ - Name: "go", Sub: complete.Commands{ "build": build, "install": build, // install and build have the same flags @@ -188,5 +187,5 @@ func main() { }, } - complete.Run(gogo) + complete.Run("go", gogo) } |
