mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-24 23:31:33 +00:00
protocols/autonat: Fix wrong parameter name in examples (#2555)
This commit is contained in:
@ -25,9 +25,9 @@
|
||||
//!
|
||||
//! To run this example, follow the instructions in `examples/server` to start a server, then run in a new terminal:
|
||||
//! ```sh
|
||||
//! cargo run --example client -- --server-address <server-addr> --server-peer-id <server-peer-id> --listen_port <port>
|
||||
//! cargo run --example client -- --server-address <server-addr> --server-peer-id <server-peer-id> --listen-port <port>
|
||||
//! ```
|
||||
//! The `listen_port` parameter is optional and allows to set a fixed port at which the local client should listen.
|
||||
//! The `listen-port` parameter is optional and allows to set a fixed port at which the local client should listen.
|
||||
|
||||
use futures::prelude::*;
|
||||
use libp2p::autonat;
|
||||
|
Reference in New Issue
Block a user