From d460fa8b125efb1f3cba1d1b85dc98159d7a568a Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Wed, 11 Aug 2021 19:58:18 -0400 Subject: [PATCH] make --all and --username conflict with each other --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index da21c34..96e55b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,6 +42,7 @@ fn main() { .short("u") .takes_value(true) .help("Select the account you want by steam username. By default, the first account in the manifest is selected.") + .conflicts_with("all") ) .arg( Arg::with_name("all") @@ -49,6 +50,7 @@ fn main() { .short("a") .takes_value(false) .help("Select all accounts in the manifest.") + .conflicts_with("username") ) .arg( Arg::with_name("mafiles-path")