gschup / bevy_ggrs

Bevy plugin for the GGRS P2P rollback networking library.
Other
295 stars 42 forks source link

Switch from `structopt` to `clap` in examples #77

Closed johanhelsing closed 10 months ago

johanhelsing commented 10 months ago

Structopt is in maintenance mode.

johanhelsing commented 10 months ago

Oops, this changes behavior slightly. This doesn't work anymore

cargo run --example box_game_p2p -- --local-port 7000 --players localhost 127.0.0.1:7001

this does:

cargo run --example box_game_p2p -- --local-port 7001 --players 127.0.0.1:7000 --players localhost

...but I'll see if I can get the behavior to stay the same with clap

EDIT: done :)

gschup commented 10 months ago

good to know structopt is no longer a thing. Thanks!