diff --git a/src/be20_api b/src/be20_api index aafe550b..efa4d698 160000 --- a/src/be20_api +++ b/src/be20_api @@ -1 +1 @@ -Subproject commit aafe550b6417ca88efaf2e002df5c338739bbeec +Subproject commit efa4d69821ca2323f5b75de0e5b51b76758d3696 diff --git a/src/bulk_extractor.cpp b/src/bulk_extractor.cpp index d78b5d86..5912cbb9 100644 --- a/src/bulk_extractor.cpp +++ b/src/bulk_extractor.cpp @@ -388,11 +388,14 @@ int bulk_extractor_main( std::ostream &cout, std::ostream &cerr, int argc,char * //sc.get_global_config( "write_feature_sqlite3",&opt_write_sqlite3,"Write feature files to report.sqlite3" ); sc.get_global_config( "report_read_errors",&cfg.opt_report_read_errors,"Report read errors" ); - /* If we are getting help or info scanners, make a fake scanner set with new output directory */ + /* If we are getting help or info scanners, make a fake scanner set with new output directory, + * then apply the scanner commands so we can get the feature recorders created... + */ if ( result.count( "help" ) || result.count( "info_scanners" )) { struct feature_recorder_set::flags_t f; scanner_set ss( sc, f, nullptr); // make a scanner_set but with no XML writer. We will create it below ss.add_scanners( scanners_builtin); + ss.apply_scanner_commands(); if ( result.count( "help" )) { // -h cout << options.help() << std::endl;