diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-11 16:51:39 -0800 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-11 16:51:39 -0800 |
commit | d1a33a3a167d47541561ca9597d2d5f28431605f (patch) | |
tree | 43c4943bca0d1d4e3341b1a7bb0f9372832cd253 /src/commands/view.rs | |
parent | 73dc5dda6b8ca8a8bdae0f620442e359871b0152 (diff) |
add a little more help info, describe tweets/compose mode/commands
Diffstat (limited to 'src/commands/view.rs')
-rw-r--r-- | src/commands/view.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/commands/view.rs b/src/commands/view.rs index a647391..15c94b1 100644 --- a/src/commands/view.rs +++ b/src/commands/view.rs @@ -11,7 +11,8 @@ pub static VIEW: Command = Command { keyword: "view", params: 1, exec: view, - help_str: "<tweet_id>: Display tweet <tweet_id> with a reference URL" + param_str: " <tweet_id>", + help_str: "Display tweet <tweet_id> with a reference URL" }; fn view(line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { @@ -36,7 +37,8 @@ pub static VIEW_THREAD: Command = Command { keyword: "view_tr", params: 1, exec: view_tr, - help_str: "<tweet_id>: Display whole thread leading to <tweet_id>, reference URLs for each" + param_str: " <tweet_id>", + help_str: "Display whole thread leading to <tweet_id>, reference URLs for each" }; fn view_tr(line: String, mut tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { @@ -67,6 +69,7 @@ pub static VIEW_THREAD_FORWARD: Command = Command { keyword: "viewthread+", params: 1, exec: view_tr_forward, + param_str: "", help_str: "help me make this work" }; |