about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-04-06 04:47:26 +0200
committerGitHub <noreply@github.com>2019-04-06 04:47:26 +0200
commit20d301c383c0789ec192a2c86f2df4464c99f457 (patch)
treebdaec1cbe8aab14c084da42eb6304b705679995a
parent6689e572f308933742e0df6f55e2ac81ca178865 (diff)
Fix missing long description on `tootctl statuses remove` (#10482)
-rw-r--r--lib/mastodon/statuses_cli.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/mastodon/statuses_cli.rb b/lib/mastodon/statuses_cli.rb
index 5881ba260..7f2fbfa85 100644
--- a/lib/mastodon/statuses_cli.rb
+++ b/lib/mastodon/statuses_cli.rb
@@ -13,7 +13,15 @@ module Mastodon
     end
 
     option :days, type: :numeric, default: 90
-    desc 'remove', 'Remove statuses'
+    desc 'remove', 'Remove unreferenced statuses'
+    long_desc <<~LONG_DESC
+      Remove statuses that are not referenced by local user activity, such as
+      ones that came from relays, or belonging to users that were once followed
+      by someone locally but no longer are.
+
+      This is a computationally heavy procedure that creates extra database
+      indicides before commencing, and removes them afterward.
+    LONG_DESC
     def remove
       say('Creating temporary database indices...')