Skip to content

Commit c50318d

Browse files
authored
example(magic): make arguments to connect named
## Description I don't think it can be used without this ## Notes & open questions Related to connectivity testing ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant.
1 parent 7354203 commit c50318d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

iroh-net/examples/magic.rs

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ enum Command {
3232
Listen,
3333
Connect {
3434
peer_id: String,
35+
#[clap(long)]
3536
addrs: Option<Vec<SocketAddr>>,
37+
#[clap(long)]
3638
derp_region: Option<u16>,
3739
},
3840
}

0 commit comments

Comments
 (0)