mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 00:54:06 +00:00
Format Rust code using rustfmt
This commit is contained in:
committed by
GitHub
parent
86c4e6def8
commit
7307c83cfa
20
src/main.rs
20
src/main.rs
@ -223,16 +223,16 @@ fn main() {
|
||||
// Ask for confirmation
|
||||
if config.hosts.len() != 0
|
||||
&& (args.noconfirm == true
|
||||
|| match Question::new(&*format!(
|
||||
"Continue on following {} servers?",
|
||||
&config.hosts.len()
|
||||
))
|
||||
.confirm()
|
||||
{
|
||||
Answer::YES => true,
|
||||
Answer::NO => false,
|
||||
_ => unreachable!(),
|
||||
})
|
||||
|| match Question::new(&*format!(
|
||||
"Continue on following {} servers?",
|
||||
&config.hosts.len()
|
||||
))
|
||||
.confirm()
|
||||
{
|
||||
Answer::YES => true,
|
||||
Answer::NO => false,
|
||||
_ => unreachable!(),
|
||||
})
|
||||
{
|
||||
info!("\n");
|
||||
info!("Run command on {} servers.", &config.hosts.len());
|
||||
|
Reference in New Issue
Block a user