Commit 9d52c666 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Adapt for changed clap behaviour with .required/.conflicts_with

parent cf6b9613
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment