add ognl command doc. #240

This commit is contained in:
hengyunabc
2018-11-28 17:59:01 +08:00
parent aee4cde690
commit 00aeb9ae43
5 changed files with 125 additions and 2 deletions
@@ -27,7 +27,7 @@ import com.taobao.middleware.logger.Logger;
@Summary("Execute ognl expression.")
@Description(Constants.EXAMPLE
+ " ognl '@java.lang.System@out.println(\"hello\")' \n"
+ " ognl -x 2 '@Singleton@getInstance() \n"
+ " ognl -x 2 '@Singleton@getInstance()' \n"
+ " ognl '@Demo@staticFiled' \n"
+ " ognl '#value1=@System@getProperty(\"java.home\"), #value2=@System@getProperty(\"java.runtime.name\"), {#value1, #value2}'\n"
+ " ognl -c 5d113a51 '@com.taobao.arthas.core.GlobalOptions@isDump' \n"