1 Commits

Author SHA1 Message Date
85e69db07c Format Rust code using rustfmt 2023-08-28 13:40:22 +00:00

View File

@ -223,16 +223,16 @@ fn main() {
// Ask for confirmation // Ask for confirmation
if config.hosts.len() != 0 if config.hosts.len() != 0
&& (args.noconfirm == true && (args.noconfirm == true
|| match Question::new(&*format!( || match Question::new(&*format!(
"Continue on following {} servers?", "Continue on following {} servers?",
&config.hosts.len() &config.hosts.len()
)) ))
.confirm() .confirm()
{ {
Answer::YES => true, Answer::YES => true,
Answer::NO => false, Answer::NO => false,
_ => unreachable!(), _ => unreachable!(),
}) })
{ {
info!("\n"); info!("\n");
info!("Run command on {} servers.", &config.hosts.len()); info!("Run command on {} servers.", &config.hosts.len());