From 31f8c3f32785ada951ab1a60a27144c7e4ed6420 Mon Sep 17 00:00:00 2001 From: Isa S Date: Fri, 25 Aug 2023 16:27:37 +0200 Subject: [PATCH] Add documentation for --days option to tootctl media refresh (#1141) * Add documentation for --days option to toolctl media refresh --- content/en/admin/tootctl.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/en/admin/tootctl.md b/content/en/admin/tootctl.md index 078c75c0..c3a1a818 100644 --- a/content/en/admin/tootctl.md +++ b/content/en/admin/tootctl.md @@ -703,7 +703,7 @@ Scans for files that do not belong to existing media attachments, and remove the ### `tootctl media refresh` {#media-refresh} -Refetch remote media attachments from other servers. You must specify the source of media attachments with either `--status`, `--account`, or `--domain`. If an attachment already exists in the database, it will not be overwritten unless you use `--force`. +Refetch remote media attachments from other servers. You must specify the source of media attachments with either `--status`, `--account`, `--domain`, or `--days`. If an attachment already exists in the database, it will not be overwritten unless you use `--force`. `--account ACCT` : String `username@domain` handle of the account @@ -714,6 +714,9 @@ Refetch remote media attachments from other servers. You must specify the source `--status ID` : Local numeric ID of the status in the database. +`--days N` +: The number of days to limit this task to. + `--concurrency N` : The number of workers to use for this task. Defaults to 5. @@ -728,7 +731,8 @@ Refetch remote media attachments from other servers. You must specify the source **Version history:**\ 3.0.0 - added\ -3.0.1 - add `--force` and skip already downloaded attachments by default +3.0.1 - add `--force` and skip already downloaded attachments by default\ +4.0.0 - add `--days` ---