Add sig alias for signal parsed tag
@@ -30,6 +30,7 @@ impl FromStr for Filter {
tag_no_case("process"),
tag_no_case("pid"),
tag_no_case("signal"),
+ tag_no_case("sig"),
tag_no_case("complete"),
tag_no_case("exit"),
)),
@@ -40,7 +41,7 @@ impl FromStr for Filter {
"kind" | "fek" => Ok(Matcher::FileEventKind),
"source" | "src" => Ok(Matcher::Source),
"process" | "pid" => Ok(Matcher::Process),
- "signal" => Ok(Matcher::Signal),
+ "signal" | "sig" => Ok(Matcher::Signal),
"complete" | "exit" => Ok(Matcher::ProcessCompletion),
m => Err(format!("unknown matcher: {}", m)),
},
