aboutsummaryrefslogtreecommitdiff
path: root/src/commands/fav.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-11-11 16:51:39 -0800
committeriximeow <me@iximeow.net>2017-11-11 16:51:39 -0800
commit8b5670f420be57576ff44324360e797f46664e8e (patch)
tree43c4943bca0d1d4e3341b1a7bb0f9372832cd253 /src/commands/fav.rs
parenta4f05a40e2f7146f429fef26a96c91a41baba499 (diff)
add a little more help info, describe tweets/compose mode/commands
Diffstat (limited to 'src/commands/fav.rs')
-rw-r--r--src/commands/fav.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/fav.rs b/src/commands/fav.rs
index 6f769d3..7a4852e 100644
--- a/src/commands/fav.rs
+++ b/src/commands/fav.rs
@@ -12,7 +12,8 @@ pub static UNFAV: Command = Command {
keyword: "unfav",
params: 1,
exec: unfav,
- help_str: "<tweet_id>: Unfavorite a tweet."
+ param_str: " <tweet_id>",
+ help_str: "Unfavorite a tweet."
};
fn unfav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) {
@@ -42,7 +43,8 @@ pub static FAV: Command = Command {
keyword: "fav",
params: 1,
exec: fav,
- help_str: "<tweet_id>: Favorite a tweet."
+ param_str: "<tweet_id>",
+ help_str: "Favorite a tweet."
};
fn fav(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) {