summaryrefslogtreecommitdiffstats
path: root/vendor/xflags-macros/tests/data/smoke.rs
blob: 55da2d3efa155bf85b1012a519fbcddaa466a267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
    }
}