diff --git a/src/banner/container.rs b/src/banner/container.rs index 5529f5d..75bd622 100644 --- a/src/banner/container.rs +++ b/src/banner/container.rs @@ -168,7 +168,7 @@ pub struct Banner { force_recursion: BannerEntry, /// represents Configuration.update_app - update_app : BannerEntry, + update_app: BannerEntry, } /// implementation of Banner @@ -671,6 +671,10 @@ by Ben "epi" Risher {} ver: {}"#, writeln!(&mut writer, "{}", self.force_recursion)?; } + if config.update_app { + writeln!(&mut writer, "{}", self.update_app)?; + } + if config.scan_limit > 0 { writeln!(&mut writer, "{}", self.scan_limit)?; } diff --git a/src/config/tests.rs b/src/config/tests.rs index ea6c49b..f8de816 100644 --- a/src/config/tests.rs +++ b/src/config/tests.rs @@ -476,7 +476,7 @@ fn config_default_not_random_agent() { /// parse the test config and see that the value parsed is correct fn config_update_app() { let config = setup_config_test(); - assert!(config.update_app); + assert!(!config.update_app); } #[test]