mirror of
https://github.com/google/gops.git
synced 2024-11-24 08:22:25 +02:00
Add usage synopsis in help message (#64)
This commit is contained in:
parent
390a41310a
commit
2209de1300
5
main.go
5
main.go
@ -16,8 +16,11 @@ import (
|
||||
"github.com/google/gops/goprocess"
|
||||
)
|
||||
|
||||
const helpText = `Usage: gops is a tool to list and diagnose Go processes.
|
||||
const helpText = `gops is a tool to list and diagnose Go processes.
|
||||
|
||||
Usage:
|
||||
|
||||
gops [command [pid|address:port]]
|
||||
|
||||
Commands:
|
||||
stack Prints the stack trace.
|
||||
|
Loading…
Reference in New Issue
Block a user