about summary refs log tree commit diff
path: root/lib/mastodon/feeds_cli.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-10-27 22:56:16 +0200
committerGitHub <noreply@github.com>2018-10-27 22:56:16 +0200
commit6f78500d4f515c65ec66416e2d78bc9ae247f91c (patch)
tree2d7f8125f6190868f9a85f37b951d4a828c93c5e /lib/mastodon/feeds_cli.rb
parenta90b569350853b648610814a06f1e9c8a930e16a (diff)
Do not remove "dead" domains in tootctl accounts cull (#9108)
Leave `tootctl accounts cull` to simply check removed accounts from
live domains, and skip temporarily unavailable domains, while listing
them in the final output for further action.

Add `tootctl domains purge DOMAIN` to be able to purge a domain from
that list manually
Diffstat (limited to 'lib/mastodon/feeds_cli.rb')
-rw-r--r--lib/mastodon/feeds_cli.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mastodon/feeds_cli.rb b/lib/mastodon/feeds_cli.rb
index 817ed4e79..fe11c3df4 100644
--- a/lib/mastodon/feeds_cli.rb
+++ b/lib/mastodon/feeds_cli.rb
@@ -9,6 +9,7 @@ module Mastodon
     def self.exit_on_failure?
       true
     end
+
     option :all, type: :boolean, default: false
     option :background, type: :boolean, default: false
     option :dry_run, type: :boolean, default: false
@@ -58,7 +59,7 @@ module Mastodon
         account = Account.find_local(username)
 
         if account.nil?
-          say("Account #{username} is not found", :red)
+          say('No such account', :red)
           exit(1)
         end