make --all and --username conflict with each other
This commit is contained in:
parent
47be84aaca
commit
d460fa8b12
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@ fn main() {
|
||||||
.short("u")
|
.short("u")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Select the account you want by steam username. By default, the first account in the manifest is selected.")
|
.help("Select the account you want by steam username. By default, the first account in the manifest is selected.")
|
||||||
|
.conflicts_with("all")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("all")
|
Arg::with_name("all")
|
||||||
|
@ -49,6 +50,7 @@ fn main() {
|
||||||
.short("a")
|
.short("a")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Select all accounts in the manifest.")
|
.help("Select all accounts in the manifest.")
|
||||||
|
.conflicts_with("username")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("mafiles-path")
|
Arg::with_name("mafiles-path")
|
||||||
|
|
Loading…
Reference in a new issue