mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
update environemnt variable names to match command-line arguments
This commit is contained in:
parent
56140046d3
commit
34b448ee7b
1 changed files with 2 additions and 2 deletions
|
@ -293,14 +293,14 @@ static void init_options()
|
||||||
|
|
||||||
if ( analysis_options.only_funcs.empty() )
|
if ( analysis_options.only_funcs.empty() )
|
||||||
{
|
{
|
||||||
auto zo = getenv("ZEEK_FUNC_ONLY");
|
auto zo = getenv("ZEEK_OPT_FUNCS");
|
||||||
if ( zo )
|
if ( zo )
|
||||||
add_func_analysis_pattern(analysis_options, zo);
|
add_func_analysis_pattern(analysis_options, zo);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( analysis_options.only_files.empty() )
|
if ( analysis_options.only_files.empty() )
|
||||||
{
|
{
|
||||||
auto zo = getenv("ZEEK_FILE_ONLY");
|
auto zo = getenv("ZEEK_OPT_FILES");
|
||||||
if ( zo )
|
if ( zo )
|
||||||
add_file_analysis_pattern(analysis_options, zo);
|
add_file_analysis_pattern(analysis_options, zo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue