Skip to content

Commit 010388d

Browse files
authored
chore(examples): fix ipfs-kad example usage
Fixes the usage instruction for `ipfs-kad` example. Pull-Request: #5953.
1 parent e1bba26 commit 010388d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ipfs-kad/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ By specifying a peer ID as a parameter, the code will search for the closest pee
2020
Run the example code:
2121

2222
```sh
23-
cargo run -- get-peers [PEER_ID]
23+
cargo run -- get-peers --peer-id [PEER_ID]
2424
```
2525

2626
Replace `[PEER_ID]` with the base58-encoded peer ID you want to search for.

0 commit comments

Comments
 (0)