MCPcopy Create free account
hub / github.com/nsf/gocode / show_usage

Function show_usage

gocode.go:31–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func show_usage() {
32 fmt.Fprintf(os.Stderr,
33 "Usage: %s [-s] [-f=<format>] [-in=<path>] [-sock=<type>] [-addr=<addr>]\n"+
34 " <command> [<args>]\n\n",
35 os.Args[0])
36 fmt.Fprintf(os.Stderr,
37 "Flags:\n")
38 flag.PrintDefaults()
39 fmt.Fprintf(os.Stderr,
40 "\nCommands:\n"+
41 " autocomplete [<path>] <offset> main autocompletion command\n"+
42 " close close the gocode daemon\n"+
43 " drop-cache drop gocode daemon's cache\n"+
44 " options list config options (extended)\n"+
45 " set [<name> [<value>]] list or set config options\n"+
46 " status gocode daemon status report\n"+
47 "")
48}
49
50func main() {
51 flag.Usage = show_usage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected