diff --git a/src/main.rs b/src/main.rs index abb4be56e1007e1045a1d0a3b6c948aa6579170e..7eca017b39814efb8d9017ad4ef82d1c20524850 100644 --- a/src/main.rs +++ b/src/main.rs @@ -611,6 +611,7 @@ fn main() -> std::io::Result<()> { .help("Line endings are the NULL character")) .arg(Arg::with_name("stdin") .long("stdin") + .conflicts_with("PATH") .required(true) .help("Read paths from stdin")) .arg(Arg::with_name("max_age") @@ -621,7 +622,6 @@ fn main() -> std::io::Result<()> { .arg(Arg::with_name("PATH") .help("path(s) to traverse") .required(false) - .conflicts_with("stdin") .multiple(true) .index(1)) .get_matches();