1 // See https://github.com/TeXitoi/structopt/issues/354 2 3 use structopt::StructOpt; 4 5 #[test] we_need_syn_full()6fn we_need_syn_full() { 7 #[allow(unused)] 8 #[derive(Debug, StructOpt, Clone)] 9 struct Args { 10 #[structopt( 11 short = "c", 12 long = "colour", 13 help = "Output colouring", 14 default_value = "auto", 15 possible_values = &["always", "auto", "never"] 16 )] 17 colour: String, 18 } 19 } 20