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/thread.rs | |
parent | 73dc5dda6b8ca8a8bdae0f620442e359871b0152 (diff) |
add a little more help info, describe tweets/compose mode/commands
Diffstat (limited to 'src/commands/thread.rs')
-rw-r--r-- | src/commands/thread.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/commands/thread.rs b/src/commands/thread.rs index 0897b21..71d0e52 100644 --- a/src/commands/thread.rs +++ b/src/commands/thread.rs @@ -10,7 +10,8 @@ pub static FORGET_THREAD: Command = Command { keyword: "forget", params: 1, exec: forget, - help_str: "<name>: Discard thread known by <name>. Entirely local to the client." + param_str: " <name>", + help_str: "Discard thread known by <name>. Entirely local to the client." }; fn forget(line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { @@ -22,7 +23,8 @@ pub static REMEMBER_THREAD: Command = Command { keyword: "remember", params: 2, exec: remember, - help_str: "<tweet_id> <name>: Remember the thread tipped by <tweet_id> as <name>. Entirely local to the client." + param_str: " <tweet_id> <name>", + help_str: "Remember the thread tipped by <tweet_id> as <name>. Entirely local to the client." }; fn remember(line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) { @@ -54,6 +56,7 @@ pub static LIST_THREADS: Command = Command { keyword: "ls_threads", params: 0, exec: ls_threads, + param_str: "", help_str: "Show all known (local) threads" }; |