update doc

This commit is contained in:
hengyunabc
2020-04-08 11:32:45 +08:00
parent 79ba5271f9
commit ed38c6a578
8 changed files with 30 additions and 1 deletions
@@ -1,5 +1,6 @@
package com.taobao.arthas.core.command.basic1000;
import com.taobao.arthas.core.command.Constants;
import com.taobao.arthas.core.shell.command.AnnotatedCommand;
import com.taobao.arthas.core.shell.command.CommandProcess;
import com.taobao.middleware.cli.annotations.Argument;
@@ -14,6 +15,9 @@ import com.taobao.middleware.cli.annotations.Summary;
*/
@Name("echo")
@Summary("write arguments to the standard output")
@Description("\nExamples:\n" +
" echo 'abc'\n" +
Constants.WIKI + Constants.WIKI_HOME + "echo")
public class EchoCommand extends AnnotatedCommand {
private String message;
@@ -32,7 +32,10 @@ import sun.management.counter.perf.PerfInstrumentation;
*/
@Name("perfcounter")
@Summary("Display the perf counter infornation.")
@Description(Constants.WIKI + Constants.WIKI_HOME + "perf")
@Description("\nExamples:\n" +
" perfcounter\n" +
" perfcounter -d\n" +
Constants.WIKI + Constants.WIKI_HOME + "perfcounter")
public class PerfCounterCommand extends AnnotatedCommand {
private static final Logger logger = LoggerFactory.getLogger(PerfCounterCommand.class);
private static Object perfObject;