Skip to content

Commit

Permalink
feat(cli): peers displayed as list
Browse files Browse the repository at this point in the history
  • Loading branch information
iancoleman committed Nov 23, 2023
1 parent 3cf9c27 commit 06a2083
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sn_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ async fn main() -> Result<()> {
let bootstrap_peers = parse_peers_args(opt.peers).await?;

println!(
"Connecting to the network w/peers: {:?}...",
bootstrap_peers
"Connecting to the network w/peers:",
);
for peer in &bootstrap_peers {
println!("{}", peer);
}

let bootstrap_peers = if bootstrap_peers.is_empty() {
// empty vec is returned if `local-discovery` flag is provided
None
Expand Down

0 comments on commit 06a2083

Please sign in to comment.