cli: fix outputs
- `format!` was missing for the `"No seeds found"` message, so the `{rid}` was not being formatted.
- Missing a space between the seed and the timing.
This commit is contained in:
parent
ae1165fa58
commit
caf9e241a6
|
|
@ -882,7 +882,7 @@ fn print_synced(synced: &BTreeMap<NodeId, sync::announce::SyncStatus>) {
|
||||||
sync::announce::SyncStatus::Synced { duration } => {
|
sync::announce::SyncStatus::Synced { duration } => {
|
||||||
message.push_str(&format!(
|
message.push_str(&format!(
|
||||||
"{}",
|
"{}",
|
||||||
term::format::dim(format!("in {}s", duration.as_secs()))
|
term::format::dim(format!(" in {}s", duration.as_secs()))
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@ where
|
||||||
term::info!(
|
term::info!(
|
||||||
&mut reporting.completion;
|
&mut reporting.completion;
|
||||||
"{}",
|
"{}",
|
||||||
term::format::yellow("No seeds found for {rid}.")
|
term::format::yellow(format!("No seeds found for {rid}."))
|
||||||
);
|
);
|
||||||
return Ok(None);
|
return Ok(None);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue