From 3fe5c6c719b2f98cad156b052c9b2fc48cf84f5b Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Thu, 19 Jan 2017 18:50:59 -0800 Subject: [PATCH] reorg the help text --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 2fbe0fb..a5ac05f 100644 --- a/main.go +++ b/main.go @@ -24,17 +24,17 @@ const helpText = `Usage: gops is a tool to list and diagnose Go processes. gops cmd See the commands below. Commands: - gc Runs the garbage collector and blocks until successful. - stack Prints the stack trace. - memstats Prints the garbage collection stats. + gc Runs the garbage collector and blocks until successful. + memstats Prints the allocation and garbage collection stats. version Prints the Go version used to build the program. stats Prints the vital runtime stats. + help Prints this help text. +Profiling commands: pprof-heap Reads the heap profile and launches "go tool pprof". pprof-cpu Reads the CPU profile and launches "go tool pprof". - help Prints this help text. All commands require the agent running on the Go process. Symbol "*" indicates the process runs the agent.`