make --all and --username conflict with each other

This commit is contained in:
Carson McManus 2021-08-11 19:58:18 -04:00
parent 47be84aaca
commit d460fa8b12

View file

@ -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")