diff --git a/sn_cli/src/main.rs b/sn_cli/src/main.rs index f2230322b5..293ec3116f 100644 --- a/sn_cli/src/main.rs +++ b/sn_cli/src/main.rs @@ -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