mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
change tt -D to --delete-all. fix #219
This commit is contained in:
1 parent
e1e15e8f61
commit
db78b670d6
1 file changed
+2
-2
@@ -42,7 +42,7 @@ import static java.lang.String.format;
|
|||||||
" tt -t *StringUtils isEmpty\n" +
|
" tt -t *StringUtils isEmpty\n" +
|
||||||
" tt -t *StringUtils isEmpty params[0].length==1\n" +
|
" tt -t *StringUtils isEmpty params[0].length==1\n" +
|
||||||
" tt -l\n" +
|
" tt -l\n" +
|
||||||
" tt -D\n" +
|
" tt --delete-all\n" +
|
||||||
" tt -i 1000 -w params[0]\n" +
|
" tt -i 1000 -w params[0]\n" +
|
||||||
" tt -i 1000 -d\n" +
|
" tt -i 1000 -d\n" +
|
||||||
" tt -i 1000\n" +
|
" tt -i 1000\n" +
|
||||||
@@ -106,7 +106,7 @@ public class TimeTunnelCommand extends EnhancerCommand {
|
|||||||
isList = list;
|
isList = list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Option(shortName = "D", longName = "delete-all", flag = true)
|
@Option(longName = "delete-all", flag = true)
|
||||||
@Description("Delete all the time fragments")
|
@Description("Delete all the time fragments")
|
||||||
public void setDeleteAll(boolean deleteAll) {
|
public void setDeleteAll(boolean deleteAll) {
|
||||||
isDeleteAll = deleteAll;
|
isDeleteAll = deleteAll;
|
||||||
|
|||||||
Reference in new issue
Block a user