mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
fix monitor command -E flag support #2009
This commit is contained in:
@@ -61,7 +61,7 @@ public class MonitorCommand extends EnhancerCommand {
|
||||
this.cycle = cycle;
|
||||
}
|
||||
|
||||
@Option(shortName = "E", longName = "regex")
|
||||
@Option(shortName = "E", longName = "regex", flag = true)
|
||||
@Description("Enable regular expression to match (wildcard matching by default)")
|
||||
public void setRegEx(boolean regEx) {
|
||||
isRegEx = regEx;
|
||||
|
||||
Reference in New Issue
Block a user