Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
gocode: client passes -cache option on to the server it starts
Browse files Browse the repository at this point in the history
Merge pull request #93 from andyjack/client-cache-option
  • Loading branch information
stamblerre authored Dec 12, 2018
2 parents 525aa8b + 09d5f73 commit 9c77a29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ func doClient() {
func tryStartServer() error {
path := get_executable_filename()
args := []string{os.Args[0], "-s", "-sock", *g_sock, "-addr", *g_addr}
if *g_cache {
args = append(args, "-cache")
}
cwd, _ := os.Getwd()

var err error
Expand Down

0 comments on commit 9c77a29

Please sign in to comment.