1
0
mirror of https://github.com/google/gops.git synced 2025-02-19 19:59:55 +02:00

fix help text

This commit is contained in:
Jaana Burcu Dogan 2016-11-03 22:48:44 -07:00
parent 961972758b
commit 5cc8e840d5

13
gops.go
View File

@ -20,14 +20,13 @@ import (
)
const helpText = `Usage: gops is a tool to list and diagnose Go processes.
gops Lists all Go processes currently running.
gops [options...] See the section below.
gops Lists all Go processes currently running.
Advanced tools, requires gops agent:
gops stack -p pid Prints the stack trace of the process.
gops gc -p pid Runs the garbage collector.
gops gcstats -p pid Prints the GC stats of the process.
gops help Prints this help message.
Options: (All requires the agent and the -p=<pid> flag.)
-stack Prints the stack trace.
-gc Runs the garbage collector and blocks until successful.
-gcstats Prints the garbage collection stats.
`
var (