mirror of
https://github.com/lsd-rs/lsd.git
synced 2026-02-13 10:43:28 +02:00
Fix clippy lint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user