Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from structopt to clap in examples #77

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

johanhelsing
Copy link
Collaborator

Structopt is in maintenance mode.

@johanhelsing
Copy link
Collaborator Author

johanhelsing commented Oct 25, 2023

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 :)

@johanhelsing johanhelsing mentioned this pull request Oct 25, 2023
3 tasks
@gschup
Copy link
Owner

gschup commented Oct 26, 2023

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

@gschup gschup merged commit 213be6b into gschup:main Oct 26, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants