Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print connect-tcp instructions when running listen-tcp cmd #24

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ async fn listen_tcp(args: ListenTcpArgs) -> anyhow::Result<()> {
// note that the tests rely on the ticket being the last thing printed
eprintln!("Forwarding incoming requests to '{}'.", args.host);
eprintln!("To connect, use e.g.:");
eprintln!("dumbpipe connect {ticket}");
eprintln!("dumbpipe connect-tcp {ticket}");
if args.common.verbose > 0 {
eprintln!("or:\ndumbpipe connect {}", short);
eprintln!("or:\ndumbpipe connect-tcp {}", short);
}
tracing::info!("node id is {}", ticket.node_addr().node_id);
tracing::info!("derp url is {:?}", ticket.node_addr().info.relay_url);
Expand Down
Loading