From cbaff4e2de254c81d5d6ee1a957a3f6b5313dc68 Mon Sep 17 00:00:00 2001 From: Ball Date: Mon, 15 Aug 2016 09:31:47 -0700 Subject: [PATCH] Updated help text for trends to match actual amount returned. --- etc/t-completion.zsh | 2 +- lib/t/cli.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/t-completion.zsh b/etc/t-completion.zsh index f399c24e..08c96f47 100644 --- a/etc/t-completion.zsh +++ b/etc/t-completion.zsh @@ -52,7 +52,7 @@ _t (){ "ruler[Prints a 140-character ruler]" \ "status[Retrieves detailed information about a Tweet.]" \ "timeline[Returns the 20 most recent Tweets posted by a user.]" \ - "trends[Returns the top 10 trending topics.]" \ + "trends[Returns the top 50 trending topics.]" \ "trend_locations[Returns the locations for which Twitter has trending topic information.]" \ "unfollow[Allows you to stop following users.]" \ "update[Post a Tweet.]" \ diff --git a/lib/t/cli.rb b/lib/t/cli.rb index 1aa73226..0276388a 100644 --- a/lib/t/cli.rb +++ b/lib/t/cli.rb @@ -778,7 +778,7 @@ def timeline(user = nil) end map %w(tl) => :timeline - desc 'trends [WOEID]', 'Returns the top 10 trending topics.' + desc 'trends [WOEID]', 'Returns the top 50 trending topics.' method_option 'exclude-hashtags', aliases: '-x', type: :boolean, desc: 'Remove all hashtags from the trends list.' def trends(woe_id = 1) opts = {}