diff options
Diffstat (limited to 'src/commands/view.rs')
-rw-r--r-- | src/commands/view.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/commands/view.rs b/src/commands/view.rs index 0c9e974..a647391 100644 --- a/src/commands/view.rs +++ b/src/commands/view.rs @@ -10,7 +10,8 @@ use display; pub static VIEW: Command = Command { keyword: "view", params: 1, - exec: view + exec: view, + help_str: "<tweet_id>: Display tweet <tweet_id> with a reference URL" }; fn view(line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { @@ -34,7 +35,8 @@ fn view(line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { pub static VIEW_THREAD: Command = Command { keyword: "view_tr", params: 1, - exec: view_tr + exec: view_tr, + help_str: "<tweet_id>: Display whole thread leading to <tweet_id>, reference URLs for each" }; fn view_tr(line: String, mut tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { @@ -64,7 +66,8 @@ fn view_tr(line: String, mut tweeter: &mut tw::TwitterCache, queryer: &mut Query pub static VIEW_THREAD_FORWARD: Command = Command { keyword: "viewthread+", params: 1, - exec: view_tr_forward + exec: view_tr_forward, + help_str: "help me make this work" }; fn view_tr_forward(_line: String, _tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { |