clap/tests/derive_ui/external_subcommand_misuse.rs

11 lines
155 B
Rust

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