Skip to content

csgrep: Fix --prune-events option description #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/csgrep.cc
Original file line number Diff line number Diff line change
@@ -569,11 +569,11 @@ int main(int argc, char *argv[])
("tool", po::value<string>(), "defect matches if it was detected by tool that matches the given regex")
("annot", po::value<string>(), "defect matches if its annotation matches the given regex")
("src-annot", po::value<string>(), "defect matches if an annotation in the _source_ file matches the given regex")
("imp-level", po::value<int>(), "defect matches if the importance level is greater or equal than the given number")
("imp-level", po::value<int>(), "defect matches if the importance level is greater than or equal to the given number")

("drop-scan-props", "do not propagate scan properties")
("embed-context,U", po::value<int>(), "embed a number of lines of context from the source file for the key event")
("prune-events", po::value<int>(), "event is preserved if its verbosity level is below the given number")
("prune-events", po::value<int>(), "event is preserved if its verbosity level is less than or equal to the given number")
("warning-rate-limit", po::value<int>(), "stop processing a warning if the count of its occurrences exceeds the specified limit")
("limit-msg-len", po::value<int>(), "limit message length by a number provided")
("remove-duplicates,u", "remove defects that are not unique by their key event")