summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-06-02 13:14:15 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-06-02 13:18:00 +0200
commit6dcfd93e8577c83192ed07d043eb4679987d5695 (patch)
treee8d6de2cea9403969c3a54927327bdbfe44586c9
parent513d7a17a580274c18aaa8161557b616574f07f8 (diff)
Remove conflict between newer-than and older-than argument
So they can be specified both. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/cli.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 018415d..131eb41 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -1277,7 +1277,6 @@ fn arg_older_than_date(about: &str) -> Arg<'_> {
"#)
.validator(parse_date_from_string)
- .conflicts_with("newer_than")
}
fn arg_newer_than_date(about: &str) -> Arg<'_> {
@@ -1308,7 +1307,6 @@ fn arg_newer_than_date(about: &str) -> Arg<'_> {
"#)
.validator(parse_date_from_string)
- .conflicts_with("older_than")
}
fn parse_date_from_string(s: &str) -> std::result::Result<(), String> {