You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If --record-input-locations option is used, DefEvents output
as json will have "input_line" and "input_file" fields that
reference the location of the event in the compilation log.
Signed-off-by: Jan Matufka <jmatufka@redhat.com>
Copy file name to clipboardExpand all lines: src/csgrep.cc
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -619,6 +619,7 @@ int main(int argc, char *argv[])
619
619
("file-glob", "expand glob patterns in the names of input files")
620
620
("ignore-case,i", "ignore case when matching regular expressions")
621
621
("ignore-parser-warnings", "if enabled, parser warnings about the input files do not affect exit code")
622
+
("record-input-locations", "if enabled, events in json will contain input_line and input_file fields referencing the original location of input file/stream")
622
623
("invert-match,v", "select defects that do not match the selected criteria")
623
624
("invert-regex,n", "invert regular expressions in all predicates")
624
625
("filter-file,f", po::value<TStringList>(), "read custom filtering rules from a file in JSON format");
@@ -639,7 +640,7 @@ int main(int argc, char *argv[])
0 commit comments