to and from dates do not require each other

This commit is contained in:
Nikolas Schmidt-Voigt 2021-09-08 17:28:09 +02:00
parent f0fdb752c7
commit 36fb0e5a37
2 changed files with 1 additions and 3 deletions

View file

@ -97,7 +97,6 @@ fn main() -> Result<()> {
.long("from")
.value_name("FROM_DATE")
.help("begin of date range (inclusive)")
.requires("to_date")
.takes_value(true),
)
.arg(
@ -105,7 +104,6 @@ fn main() -> Result<()> {
.long("to")
.value_name("TO_DATE")
.help("end of date range (inclusive)")
.requires("from_date")
.takes_value(true),
)
.arg(