add heapdump command doc. close #837

This commit is contained in:
hengyunabc
2019-09-03 16:46:52 +08:00
parent 58e77dc6f3
commit c2a2fbcd39
5 changed files with 71 additions and 1 deletions
@@ -41,7 +41,7 @@ public class HeapDumpCommand extends AnnotatedCommand {
}
@Option(shortName = "l", longName = "live", flag = true)
@Description("Only dump live objects, default value true")
@Description("Dump only live objects; if not specified, all objects in the heap are dumped.")
public void setLive(boolean live) {
this.live = live;
}