Commit a0b6ae6

mo khan <mo@mokhan.ca>
2025-09-26 21:03:24
fix: specify array type
1 parent 464b004
Changed files (1)
lib
minbox
lib/minbox/cli.rb
@@ -13,7 +13,7 @@ module Minbox
       package_name "minbox"
 
       method_option :from, type: :string, default: "me@example.org"
-      method_option :to, type: :string, default: ["them@example.org"]
+      method_option :to, type: :array, default: ["them@example.org"]
       method_option :subject, type: :string, default: "#{Time.now} This is a test message."
       method_option :body, type: :string, default: "#{Time.now} This is a test message."
       desc "send <HOST> <PORT>", "Send mail to SMTP server"