Skip to content

Commit

Permalink
fix: 修复 cli 判断发送平台的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Sep 7, 2017
1 parent 8efc5ee commit 1d728f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xiaomi/push/commands/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
c.description = '使用小米推送消息(目前仅支持 regid/alias/topic 推送方式)'

# normal params
c.option '--device DEVICE', %w('android', 'ios'), '设备类型'
c.option '--device DEVICE', %w(android ios), '设备类型'
c.option '--secret SECRET', '应用密钥'

# type
Expand Down

0 comments on commit 1d728f2

Please sign in to comment.