]> cat aescling's git repositories - mastodon.git/commitdiff
Fix missing long description on `tootctl statuses remove` (#10482)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 6 Apr 2019 02:47:26 +0000 (04:47 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Apr 2019 02:47:26 +0000 (04:47 +0200)
lib/mastodon/statuses_cli.rb

index 5881ba260bebae366226b07e6f1e8545a777a635..7f2fbfa85d438f560c36ca282798de4ca9236234 100644 (file)
@@ -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...')