From 73dc5dda6b8ca8a8bdae0f620442e359871b0152 Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Sat, 11 Nov 2017 04:35:35 -0800 Subject: start adding help reference --- src/commands/follow.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/commands/follow.rs') diff --git a/src/commands/follow.rs b/src/commands/follow.rs index e9099c9..3a53821 100644 --- a/src/commands/follow.rs +++ b/src/commands/follow.rs @@ -9,7 +9,8 @@ static UNFOLLOW_URL: &str = "https://api.twitter.com/1.1/friendships/destroy.jso pub static UNFOLLOW: Command = Command { keyword: "unfl", params: 1, - exec: unfl + exec: unfl, + help_str: ": Unfollow . No @ prefix in !" }; fn unfl(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { @@ -29,7 +30,8 @@ fn unfl(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { pub static FOLLOW: Command = Command { keyword: "fl", params: 1, - exec: fl + exec: fl, + help_str: ": Follow . No @ prefix in !" }; fn fl(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { -- cgit v1.1