update options command doc.

This commit is contained in:
hengyunabc
2019-12-02 17:12:08 +08:00
parent 11601e8f34
commit ad0a6404ba
3 changed files with 116 additions and 3 deletions
@@ -37,10 +37,16 @@ import static java.lang.String.format;
*
* @author vlinux on 15/6/6.
*/
// @formatter:off
@Name("options")
@Summary("View and change various Arthas options")
@Description(Constants.EXAMPLE + "options dump true\n"+ "options unsafe true\n" +
@Description(Constants.EXAMPLE +
"options # list all options\n" +
"options json-format true\n" +
"options dump true\n" +
"options unsafe true\n" +
Constants.WIKI + Constants.WIKI_HOME + "options")
//@formatter:on
public class OptionsCommand extends AnnotatedCommand {
private String optionName;
private String optionValue;