aboutsummaryrefslogtreecommitdiff
path: root/tests/we_need_syn_full.rs
blob: cc6eca89f50e82bfadc071540b4bab7459a784f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// See https://github.com/TeXitoi/structopt/issues/354

use structopt::StructOpt;

#[test]
fn we_need_syn_full() {
    #[allow(unused)]
    #[derive(Debug, StructOpt, Clone)]
    struct Args {
        #[structopt(
            short = "c",
            long = "colour",
            help = "Output colouring",
            default_value = "auto",
            possible_values = &["always", "auto", "never"]
        )]
        colour: String,
    }
}