diff --git a/examples/identify/identify.py b/examples/identify/identify.py index 0a9fde27..ae4d0e53 100644 --- a/examples/identify/identify.py +++ b/examples/identify/identify.py @@ -61,7 +61,7 @@ async def run(port: int, destination: str) -> None: async with host_a.run(listen_addrs=[listen_addr]): print( "First host listening. Run this from another console:\n\n" - f"python identify.py -p {int(port) + 1} " + f"identify-demo -p {int(port) + 1} " f"-d /ip4/{localhost_ip}/tcp/{port}/p2p/{host_a.get_id().pretty()}\n" ) print("Waiting for incoming identify request...") @@ -98,8 +98,8 @@ async def run(port: int, destination: str) -> None: def main() -> None: description = """ This program demonstrates the libp2p identify protocol. - First run 'python identify.py -p ' to start a listener. - Then run 'python identify.py -p -d ' + First run identify-demo -p ' to start a listener. + Then run 'identify-demo -d ' where is the multiaddress shown by the listener. """