clap/clap_derive/tests/ui/external_subcommand_misuse.rs
CreepySkeleton a21372e9ed Fix ui tests
2020-05-01 20:09:55 +03:00

11 lines
148 B
Rust

use clap::Clap;
#[derive(Clap, Debug)]
struct Opt {
#[clap(external_subcommand)]
field: String,
}
fn main() {
let _ = Opt::parse();
}