cargo fmt
Signed-off-by: Jia Chao <jiachao2130@126.com>
This commit is contained in:
parent
f82ff6ac72
commit
853be957ee
|
@ -76,13 +76,16 @@ fn summary(cli: &Cli) -> crate::Result<()> {
|
|||
let pos: usize = cusa.severity().into();
|
||||
res[pos] += 1;
|
||||
}
|
||||
let msg = format!("
|
||||
let msg = format!(
|
||||
"
|
||||
漏洞扫描结果如下:
|
||||
致命漏洞: {:3} 个
|
||||
高危漏洞: {:3} 个
|
||||
中危漏洞: {:3} 个
|
||||
低危漏洞: {:3} 个
|
||||
", res[4], res[3], res[2], res[1]);
|
||||
",
|
||||
res[4], res[3], res[2], res[1]
|
||||
);
|
||||
|
||||
println!("{}", msg);
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue
Block a user