MCPcopy
hub / github.com/nats-io/nats.go / showUsageAndExit

Function showUsageAndExit

examples/nats-bench/main.go:41–44  ·  view source on GitHub ↗
(exitcode int)

Source from the content-addressed store, hash-verified

39}
40
41func showUsageAndExit(exitcode int) {
42 usage()
43 os.Exit(exitcode)
44}
45
46var benchmark *bench.Benchmark
47

Callers 1

mainFunction · 0.70

Calls 1

usageFunction · 0.70

Tested by

no test coverage detected