Add sig alias for signal parsed tag
This commit is contained in:
parent
962c7cd6d6
commit
8a25ea95af
|
@ -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)),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue