Skip to content

Multiple boolean flags #5287

Answered by epage
forest1102 asked this question in Q&A
Jan 8, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Ok, so you are looking to do something like #1704. #2222 might be a future way of making this simple.

https://docs.rs/clap/latest/clap/_derive/_cookbook/find/index.html is the closest example we have. It had some bugs but 4.4.14 fixed them. Be sure to depend on 4.4.14 and look at that version in the docs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@forest1102
Comment options

@epage
Comment options

Answer selected by forest1102
@forest1102
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants