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 2262ba1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sn_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ async fn main() -> Result<()> {

let bootstrap_peers = parse_peers_args(opt.peers).await?;

println!(
"Connecting to the network w/peers: {:?}...",
bootstrap_peers
);
println!("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 2262ba1

Please sign in to comment.