Fix clippy lint

This commit is contained in:
James
2022-08-23 12:43:56 +01:00
committed by Abin Simon
parent 0f42e725f9
commit 768ec41f0c

View File

@@ -347,7 +347,7 @@ pub fn build() -> App<'static> {
fn validate_date_argument(arg: &str) -> Result<(), String> {
if arg.starts_with('+') {
validate_time_format(&arg)
validate_time_format(arg)
} else if arg == "date" || arg == "relative" {
Result::Ok(())
} else {