From a4f05a40e2f7146f429fef26a96c91a41baba499 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 11 Nov 2017 04:35:35 -0800 Subject: start adding help reference --- src/commands/fav.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/commands/fav.rs') 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: ": 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: ": Favorite a tweet." }; fn fav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { -- cgit v1.1