add support for archive -t to the CLI

This commit is contained in:
Abraham Toriz 2022-08-03 07:55:15 +08:00
parent bc0f4236ac
commit c6c0d813c1
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 5 additions and 0 deletions

View File

@ -152,6 +152,11 @@ fn main() {
.short("f").long("fake")
.help("Don't actually archive the entries, just display them")
)
.arg(Arg::with_name("time")
.short("t").long("time")
.takes_value(true)
.help("Time in hours to archive. Archived time will be equal or less than this.")
)
)
.subcommand(SubCommand::with_name("backend")