mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-03-14 18:55:37 +00:00
Fix up wording in the doc comments for admin media deletion
This commit is contained in:
parent
e3b81f7b64
commit
ccf99bc968
1 changed files with 5 additions and 5 deletions
|
@ -27,18 +27,18 @@ pub(super) enum MediaCommand {
|
|||
DeleteList,
|
||||
|
||||
/// - Deletes all remote (and optionally local) media created before or
|
||||
/// after \[duration] time using filesystem metadata first created at
|
||||
/// date, or fallback to last modified date. This will always ignore
|
||||
/// errors by default.
|
||||
/// after [duration] time using filesystem metadata first created at date,
|
||||
/// or fallback to last modified date. This will always ignore errors by
|
||||
/// default.
|
||||
DeletePastRemoteMedia {
|
||||
/// - The relative time (e.g. 30s, 5m, 7d) within which to search
|
||||
duration: String,
|
||||
|
||||
/// - Only delete media created more recently than \[duration] ago
|
||||
/// - Only delete media created before [duration] ago
|
||||
#[arg(long, short)]
|
||||
before: bool,
|
||||
|
||||
/// - Only delete media created after \[duration] ago
|
||||
/// - Only delete media created after [duration] ago
|
||||
#[arg(long, short)]
|
||||
after: bool,
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue