Fix up wording in the doc comments for admin media deletion (#694)
Some checks failed
CI and Artifacts / Test (push) Has been cancelled
CI and Artifacts / Build (push) Has been cancelled
CI and Artifacts / variables (push) Has been cancelled
Update Docker Hub Description / dockerHubDescription (push) Has been cancelled
Documentation and GitHub Pages / Documentation and GitHub Pages (push) Has been cancelled
CI and Artifacts / Docker publish (push) Has been cancelled

This commit is contained in:
Odd Eivind Ebbesen 2025-03-10 22:28:29 +01:00 committed by GitHub
parent 1366a3092f
commit c4b05e77f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,