Merge pull request #83 from dyc3/conflicting-args

make --all and --username conflict with each other
This commit is contained in:
Carson McManus 2021-08-11 20:01:47 -04:00 committed by GitHub
commit c9d9d194b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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