clap/clap_derive/tests/ui/flatten_struct_in_enum.rs
2021-10-11 21:54:44 +01:00

10 lines
131 B
Rust

#[derive(clap::Parser)]
enum Opt {
#[clap(flatten)]
Sub(SubCmd),
}
#[derive(clap::Parser)]
struct SubCmd {}
fn main() {}