Skip to content

Commit

Permalink
Fix stupid doc command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nexy7574 committed Dec 20, 2024
1 parent d83013e commit a9e9f06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/admin/media/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
/// 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 more recently than \[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,

Expand Down

0 comments on commit a9e9f06

Please sign in to comment.