diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-11 04:35:35 -0800 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-11 16:00:31 -0800 |
commit | 73dc5dda6b8ca8a8bdae0f620442e359871b0152 (patch) | |
tree | 1a3a0ff74bedf1788079ba642eb222f6a4d23c9d /src/commands/fav.rs | |
parent | 3601bf6433d46dea4dd1960f7a3cdc514602983d (diff) |
start adding help reference
Diffstat (limited to 'src/commands/fav.rs')
-rw-r--r-- | src/commands/fav.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/fav.rs b/src/commands/fav.rs index 08ad7f0..6f769d3 100644 --- a/src/commands/fav.rs +++ b/src/commands/fav.rs @@ -11,7 +11,8 @@ static UNFAV_TWEET_URL: &str = "https://api.twitter.com/1.1/favorites/destroy.js pub static UNFAV: Command = Command { keyword: "unfav", params: 1, - exec: unfav + exec: unfav, + help_str: "<tweet_id>: Unfavorite a tweet." }; fn unfav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { @@ -40,7 +41,8 @@ fn unfav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { pub static FAV: Command = Command { keyword: "fav", params: 1, - exec: fav + exec: fav, + help_str: "<tweet_id>: Favorite a tweet." }; fn fav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { |