Fix broken option defaults in tootctl email-domain-blocks (#38107)

This commit is contained in:
Claire authored and GitHub committed 2026-03-09 11:26:16 +00:00
1 parent 4211b1b34c
commit e235c446c9
2 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ require_relative 'base'
module Mastodon::CLI
class EmailDomainBlocks < Base
option :only_blocked, type: :boolean, defaut: false
option :only_blocked, type: :boolean, default: false
option :only_with_approval, type: :boolean, default: false
desc 'list', 'List blocked e-mail domains'
long_desc <<-LONG_DESC
@@ -43,7 +43,7 @@ module Mastodon::CLI
end
option :with_dns_records, type: :boolean
option :allow_with_approval, type: :boolean, defaut: false
option :allow_with_approval, type: :boolean, default: false
desc 'add DOMAIN...', 'Block e-mail domain(s)'
long_desc <<-LONG_DESC
Blocking an e-mail domain prevents users from signing up