diff --git a/src/afterfact.rs b/src/afterfact.rs index e6a3d0e31..7d52d9ee9 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -1986,7 +1986,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2077,7 +2077,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2318,7 +2318,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2411,7 +2411,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2638,7 +2638,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2729,7 +2729,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2967,7 +2967,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3058,7 +3058,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3370,7 +3370,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3462,7 +3462,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3711,7 +3711,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3881,7 +3881,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -3971,7 +3971,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -4150,7 +4150,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -4240,7 +4240,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 919271f11..fec31ecea 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -2687,7 +2687,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2761,7 +2761,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2808,7 +2808,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, input_args: InputOption { directory: None, @@ -2855,7 +2855,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, input_args: InputOption { directory: None, @@ -2899,7 +2899,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, input_args: InputOption { directory: None, @@ -2946,7 +2946,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, input_args: InputOption { directory: None, diff --git a/src/detections/detection.rs b/src/detections/detection.rs index 60144ed78..ecceaedb8 100644 --- a/src/detections/detection.rs +++ b/src/detections/detection.rs @@ -1237,7 +1237,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -1500,7 +1500,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -1637,7 +1637,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -1770,7 +1770,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -1916,7 +1916,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/rule/condition_parser.rs b/src/detections/rule/condition_parser.rs index e2049c071..8e256d1b8 100644 --- a/src/detections/rule/condition_parser.rs +++ b/src/detections/rule/condition_parser.rs @@ -583,7 +583,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/rule/count.rs b/src/detections/rule/count.rs index 218c7518b..ebabb3fac 100644 --- a/src/detections/rule/count.rs +++ b/src/detections/rule/count.rs @@ -609,7 +609,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/rule/matchers.rs b/src/detections/rule/matchers.rs index 7eb813160..99c50d1c3 100644 --- a/src/detections/rule/matchers.rs +++ b/src/detections/rule/matchers.rs @@ -844,7 +844,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/rule/mod.rs b/src/detections/rule/mod.rs index df902c5a0..2fffc79ac 100644 --- a/src/detections/rule/mod.rs +++ b/src/detections/rule/mod.rs @@ -429,7 +429,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/rule/selectionnodes.rs b/src/detections/rule/selectionnodes.rs index 0e43d68d8..21772b4ea 100644 --- a/src/detections/rule/selectionnodes.rs +++ b/src/detections/rule/selectionnodes.rs @@ -552,7 +552,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/detections/utils.rs b/src/detections/utils.rs index 4bd694be7..6bfc28cad 100644 --- a/src/detections/utils.rs +++ b/src/detections/utils.rs @@ -1050,7 +1050,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/main.rs b/src/main.rs index fc315a388..e29d379ad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2025,7 +2025,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2189,7 +2189,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2274,7 +2274,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2357,7 +2357,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2442,7 +2442,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2505,7 +2505,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2561,7 +2561,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2615,7 +2615,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2673,7 +2673,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -2730,7 +2730,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, evtx_file_ext: None, thread_number: None, @@ -2774,7 +2774,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, evtx_file_ext: None, thread_number: None, diff --git a/src/options/htmlreport.rs b/src/options/htmlreport.rs index 1f24c57bf..cad84aa95 100644 --- a/src/options/htmlreport.rs +++ b/src/options/htmlreport.rs @@ -275,7 +275,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -341,7 +341,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -410,7 +410,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -476,7 +476,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/options/level_tuning.rs b/src/options/level_tuning.rs index b8218439d..0b3fe8cb7 100644 --- a/src/options/level_tuning.rs +++ b/src/options/level_tuning.rs @@ -138,7 +138,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, })), debug: false, diff --git a/src/options/profile.rs b/src/options/profile.rs index 62fa2951b..dd93e81e8 100644 --- a/src/options/profile.rs +++ b/src/options/profile.rs @@ -510,7 +510,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -587,7 +587,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, @@ -694,7 +694,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None, diff --git a/src/options/update.rs b/src/options/update.rs index b281afc92..ad7d1d068 100644 --- a/src/options/update.rs +++ b/src/options/update.rs @@ -281,7 +281,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, })), debug: false, @@ -303,7 +303,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, })), debug: false, @@ -329,7 +329,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, })), debug: false, diff --git a/src/timeline/computer_metrics.rs b/src/timeline/computer_metrics.rs index 6edfe3204..0e631d1f6 100644 --- a/src/timeline/computer_metrics.rs +++ b/src/timeline/computer_metrics.rs @@ -134,7 +134,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, json_input: false, evtx_file_ext: None, diff --git a/src/timeline/metrics.rs b/src/timeline/metrics.rs index 8ef4d5a91..c16227307 100644 --- a/src/timeline/metrics.rs +++ b/src/timeline/metrics.rs @@ -347,7 +347,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { json_input: false, diff --git a/src/timeline/timelines.rs b/src/timeline/timelines.rs index b9f771dba..c74747fd7 100644 --- a/src/timeline/timelines.rs +++ b/src/timeline/timelines.rs @@ -534,7 +534,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { json_input: false, @@ -722,7 +722,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { json_input: false, @@ -813,7 +813,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { json_input: false, diff --git a/src/yaml.rs b/src/yaml.rs index 63761cae3..5e2dfa32e 100644 --- a/src/yaml.rs +++ b/src/yaml.rs @@ -739,7 +739,7 @@ mod tests { common_options: CommonOptions { no_color: false, quiet: false, - help: false, + help: None, }, detect_common_options: DetectCommonOption { evtx_file_ext: None,