@schlink I have a recommendation, which is not something you've asked for, but nevertheless :D
Use https://docs.rs/structopt — it's a higher-level wrapper over clap that gets you much more "ADT-like" (and so, Rust-like) than "query-like" arg parsing. You're going to love it and wish other languages had this 😃
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!