1- .\" Automatically generated by Pandoc 2.19.2
1+ .\" Automatically generated by Pandoc 2.14.0.3
22.\"
3- .\" Define V font for inline verbatim, using C font in formats
4- .\" that render this, and otherwise B font.
5- .ie " \f[CB] x \f[ ]" x" \{\
6- . ftr V B
7- . ftr VI BI
8- . ftr VB B
9- . ftr VBI BI
10- .\}
11- .el \{\
12- . ftr V CR
13- . ftr VI CI
14- . ftr VB CB
15- . ftr VBI CBI
16- .\}
173.TH "BEAR-CITNAMES" "1" "Jan 02, 2023" "Bear User Manuals" ""
184.hy
195.SH NAME
@@ -49,14 +35,14 @@ Enable verbose logging.
4935.TP
5036--input \f[I] file \f[ R ]
5137Specify input file.
52- (Default file name provided.)
53- The input is a command execution list, with some extra information.
38+ (Default file name provided.) The input is a command execution list,
39+ with some extra information.
5440The syntax is detailed in a separate section.
5541.TP
5642--output \f[I] file \f[ R ]
5743Specify output file.
58- (Default file name provided.)
59- The output is currently a JSON compilation database.
44+ (Default file name provided.) The output is currently a JSON compilation
45+ database.
6046.TP
6147--append
6248Use previously generated output file and append the new entries to it.
@@ -70,8 +56,8 @@ entries.
7056Allow the program to verify file location checks on the current machine
7157it runs.
7258(Default value provided.
73- Run help to query it.)
74- This is important if the execution list is not from the current host.
59+ Run help to query it.) This is important if the execution list is not
60+ from the current host.
7561.TP
7662--config \f[I] file \f[ R ]
7763Specify a configuration file.
@@ -86,22 +72,22 @@ it recognized at all.
8672.SH OBSERVABILITY
8773.PP
8874Any insight about the command recognition logic can be observed with
89- \f[ V ] --verbose\f[ R ] flag on the standard error.
75+ \f[ C ] --verbose\f[ R ] flag on the standard error.
9076Otherwise, the command is silent.
9177.SH INPUT FILE
9278.PP
9379It\[cq ] s a JSON file, with the command execution history.
9480(Plus some metadata, that is useful for debugging the application which
95- was produced it.)
96- This file can be produced by the \f[ V ] bear intercept\f[ R ] command, which
97- records the process executions of a build.
81+ was produced it.) This file can be produced by the
82+ \f[ C ] bear intercept\f[ R ] command, which records the process executions
83+ of a build.
9884.PP
9985Read more about the syntax of the file in the
100- \f[ V ] bear-intercept(1)\f[ R ] man page.
86+ \f[ C ] bear-intercept(1)\f[ R ] man page.
10187.SH OUTPUT FILE
10288.PP
10389Currently, the only output format is the JSON compilation database.
104- Read more about the syntax of that in the \f[ V ] bear(1)\f[ R ] man page.
90+ Read more about the syntax of that in the \f[ C ] bear(1)\f[ R ] man page.
10591.SH CONFIG FILE
10692.PP
10793The config file influences the command recognition (by the section
@@ -110,7 +96,7 @@ The config file influences the command recognition (by the section
11096.PP
11197The config file is optional.
11298The program will use default values, which can be dumped with the
113- \f[ V ] --verbose\f[ R ] flags.
99+ \f[ C ] --verbose\f[ R ] flags.
114100.PP
115101Some parts of the file has overlap with the command line arguments.
116102If both present the command line argument overrides the config file
@@ -133,7 +119,8 @@ values.
133119 \[dq ] content\[dq ] : {
134120 \[dq ] include_only_existing_source\[dq ] : true,
135121 \[dq ] paths_to_include\[dq ] : [],
136- \[dq ] paths_to_exclude\[dq ] : []
122+ \[dq ] paths_to_exclude\[dq ] : [],
123+ \[dq ] duplicate_filter_fields\[dq ] : \[dq ] file_output\[dq ]
137124 },
138125 \[dq ] format\[dq ] : {
139126 \[dq ] command_as_array\[dq ] : true,
@@ -144,46 +131,50 @@ values.
144131\f[ R ]
145132.fi
146133.TP
147- \f[ V ] compilation.compilers_to_recognize\f[ R ]
134+ \f[B]\f[CB] compilation.compilers_to_recognize \f[B] \f[ R ]
148135where compiler can be specified, which are not yet recognized by
149136default.
150- The \f[ V ] executable\f[ R ] is an absolute path to the compiler.
151- The \f[ V ] flags_to_add\f[ R ] is an optional attribute, which contains
137+ The \f[ C ] executable\f[ R ] is an absolute path to the compiler.
138+ The \f[ C ] flags_to_add\f[ R ] is an optional attribute, which contains
152139flags which will append to the final output.
153140(It\[cq ] s a good candidate to use this for adding OpenMPI compiler
154- wrapper flags from the \f[ V ] mpicc --showme:compile\f[ R ] output.)
155- The \f[ V ] flags_to_remove\f[ R ] is an optional attribute, where the given
141+ wrapper flags from the \f[ C ] mpicc --showme:compile\f[ R ] output.) The
142+ \f[ C ] flags_to_remove\f[ R ] is an optional attribute, where the given
156143flags will be removed for the final argument list.
157144(The flags checked for equality only, no regex match.
158145Flags with arguments are not good candidates to put here, because the
159146removal logic is too simple for that.)
160147.TP
161- \f[ V ] compilation.compilers_to_exclude\f[ R ]
148+ \f[B]\f[CB] compilation.compilers_to_exclude \f[B] \f[ R ]
162149this is an optional list of executables (with absolute path) which needs
163150to be removed from the output.
164151.TP
165- \f[ V ] output.content\f[ R ]
166- The \f[ V ] paths_to_include\f[ R ] and \f[ V ] paths_to_exclude\f[ R ] are for
152+ \f[B]\f[CB] output.content \f[B] \f[ R ]
153+ The \f[ C ] paths_to_include\f[ R ] and \f[ C ] paths_to_exclude\f[ R ] are for
167154filter out entries from these directories.
168155(Directory names can be absolute paths or relative to the current
169- working directory if the \f[ V ] --run-checks\f[ R ] flag passed.)
170- The \f[ V ] include_only_existing_source\f[ R ] allows or disables file check
171- for the output.
172- The \f[ V ] --run-checks\f[ R ] flag overrides this config value.
156+ working directory if the \f[ C ] --run-checks\f[ R ] flag passed.) The
157+ \f[ C ] include_only_existing_source\f[ R ] allows or disables file check for
158+ the output.
159+ The \f[ C ] --run-checks\f[ R ] flag overrides this config value.
160+ The \f[ C ] duplicate_filter_fields\f[ R ] select the method how duplicate
161+ entries are detected in the output.
162+ The possible values for this field are: \f[ C ] all\f[ R ] , \f[ C ] file\f[ R ]
163+ and \f[ C ] file_output\f[ R ] .
173164.TP
174- \f[ V ] output.format\f[ R ]
175- The \f[ V ] command_as_array\f[ R ] controls which command field is emitted
165+ \f[B]\f[CB] output.format \f[B] \f[ R ]
166+ The \f[ C ] command_as_array\f[ R ] controls which command field is emitted
176167in the output.
177- True produces \f[ V ] arguments\f[ R ] , false produces \f[ V ] command\f[ R ]
168+ True produces \f[ C ] arguments\f[ R ] , false produces \f[ C ] command\f[ R ]
178169field.
179- The \f[ V ] drop_output_field\f[ R ] will disable the \f[ V ] output\f[ R ] field
170+ The \f[ C ] drop_output_field\f[ R ] will disable the \f[ C ] output\f[ R ] field
180171from the output.
181172.SH SEE ALSO
182173.PP
183- \f[ V ] bear(1)\f[ R ] , \f[ V ] bear-intercept(1)\f[ R ]
174+ \f[ C ] bear(1)\f[ R ] , \f[ C ] bear-intercept(1)\f[ R ]
184175.SH COPYRIGHT
185176.PP
186- Copyright (C) 2012-2022 by L\['a ] szl\['o ] Nagy
177+ Copyright (C) 2012-2023 by L\['a ] szl\['o ] Nagy
187178<https://github.com/rizsotto/Bear>
188179.SH AUTHORS
189180L\['a ] szl\['o ] Nagy.
0 commit comments