fix monitor command -E flag support #2009

This commit is contained in:
yqxzy
2022-04-24 14:16:05 +08:00
committed by GitHub
parent 1f1cfd01e5
commit 20d0faab37
@@ -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;