Skip to content

Commit

Permalink
Update conflicts_with_all for structopt
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Jun 3, 2021
1 parent e1ac85e commit 0101280
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/cli/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ pub struct StoreOptions {
compiler: CompilerOptions,

/// Use the Universal Engine.
#[structopt(long, conflicts_with_all = &["dylib", "staticlib", "jit", "native", "object-file"])]
#[structopt(long, conflicts_with_all = &["dylib", "staticlib", "jit", "native", "object_file"])]
universal: bool,

/// Use the Dylib Engine.
#[structopt(long, conflicts_with_all = &["universal", "staticlib", "jit", "native", "object-file"])]
#[structopt(long, conflicts_with_all = &["universal", "staticlib", "jit", "native", "object_file"])]
dylib: bool,

/// Use the Staticlib Engine.
#[structopt(long, conflicts_with_all = &["universal", "dylib", "jit", "native", "object-file"])]
#[structopt(long, conflicts_with_all = &["universal", "dylib", "jit", "native", "object_file"])]
staticlib: bool,

/// Use the JIT (Universal) Engine.
#[structopt(long, hidden = true, conflicts_with_all = &["universal", "dylib", "staticlib", "native", "object-file"])]
#[structopt(long, hidden = true, conflicts_with_all = &["universal", "dylib", "staticlib", "native", "object_file"])]
jit: bool,

/// Use the Native (Dylib) Engine.
#[structopt(long, hidden = true, conflicts_with_all = &["universal", "dylib", "staticlib", "jit", "object-file"])]
#[structopt(long, hidden = true, conflicts_with_all = &["universal", "dylib", "staticlib", "jit", "object_file"])]
native: bool,

/// Use the ObjectFile (Staticlib) Engine.
Expand Down

0 comments on commit 0101280

Please sign in to comment.