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