summaryrefslogtreecommitdiffstats
path: root/vendor/xflags-macros/tests/it/src/smoke.rs
blob: ae303779e07d5a0814ee134a9f5600f8f5410c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
xflags! {
    /// LSP server for rust.
    cmd rust-analyzer
        required workspace: PathBuf
        /// Number of concurrent jobs.
        optional jobs: u32
    {
        /// Path to log file. By default, logs go to stderr.
        optional --log-file path: PathBuf
        repeated -v, --verbose
        required -n, --number n: u32
        repeated --data value: OsString
        optional --emoji
    }
}