bin/commands/admin_teams.rb in slack-ruby-client-2.1.0 vs bin/commands/admin_teams.rb in slack-ruby-client-2.2.0
- old
+ new
@@ -20,10 +20,10 @@
g.desc 'List all teams on an Enterprise organization'
g.long_desc %( List all teams on an Enterprise organization )
g.command 'list' do |c|
c.flag 'cursor', desc: 'Set cursor to next_cursor returned by the previous call to list items in the next page.'
- c.flag 'limit', desc: 'The maximum number of items to return. Must be between 1 - 100 both inclusive.'
+ c.flag 'limit', desc: 'The maximum number of items to return. Must be a positive integer no larger than 1000.'
c.action do |_global_options, options, _args|
puts JSON.dump(@client.admin_teams_list(options))
end
end
end