From d1e8ca56bbc3c987cc452a0b135998b2aec5dc8f Mon Sep 17 00:00:00 2001 From: Joe Paul Date: Wed, 15 Mar 2023 17:37:31 +0530 Subject: [PATCH] fix: remove default for sortformat --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index e1177f7..126a2bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -222,11 +222,7 @@ fn main() -> Result<(), Error> { .arg(arg!(--dir ).required(true)) .arg(arg!(--password ).required(false)) .arg(arg!(--output ).required(true)) - .arg( - arg!(--sortformat ) - .required(false) - .default_value("%d-%m-%Y"), - ) + .arg(arg!(--sortformat ).required(false)) .get_matches(); let path = matches.get_one::("dir");