Skip to content

Commit e1ee159

Browse files
Merge pull request #24 from cameronfyfe/update-listen-tcp-instructions
print `connect-tcp` instructions when running `listen-tcp` cmd
2 parents 8da09fc + 6281eea commit e1ee159

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ async fn listen_tcp(args: ListenTcpArgs) -> anyhow::Result<()> {
445445
// note that the tests rely on the ticket being the last thing printed
446446
eprintln!("Forwarding incoming requests to '{}'.", args.host);
447447
eprintln!("To connect, use e.g.:");
448-
eprintln!("dumbpipe connect {ticket}");
448+
eprintln!("dumbpipe connect-tcp {ticket}");
449449
if args.common.verbose > 0 {
450-
eprintln!("or:\ndumbpipe connect {}", short);
450+
eprintln!("or:\ndumbpipe connect-tcp {}", short);
451451
}
452452
tracing::info!("node id is {}", ticket.node_addr().node_id);
453453
tracing::info!("derp url is {:?}", ticket.node_addr().info.relay_url);

0 commit comments

Comments
 (0)