diff options
author | iximeow <me@iximeow.net> | 2017-11-11 16:51:39 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2017-11-11 16:51:39 -0800 |
commit | 8b5670f420be57576ff44324360e797f46664e8e (patch) | |
tree | 43c4943bca0d1d4e3341b1a7bb0f9372832cd253 /src/commands/look_up.rs | |
parent | a4f05a40e2f7146f429fef26a96c91a41baba499 (diff) |
add a little more help info, describe tweets/compose mode/commands
Diffstat (limited to 'src/commands/look_up.rs')
-rw-r--r-- | src/commands/look_up.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/look_up.rs b/src/commands/look_up.rs index fa83d2b..7bd5885 100644 --- a/src/commands/look_up.rs +++ b/src/commands/look_up.rs @@ -9,7 +9,8 @@ pub static LOOK_UP_USER: Command = Command { keyword: "look_up_user", params: 1, exec: look_up_user, - help_str: "<twitter_user_id>: Look up the user by the specified twitter user ID, display name/handle." + param_str: " <twitter_user_id>", + help_str: "Look up the user by the specified twitter user ID, display name/handle." }; fn look_up_user(line: String, tweeter: &mut tw::TwitterCache, mut queryer: &mut Queryer) { @@ -25,7 +26,8 @@ pub static LOOK_UP_TWEET: Command = Command { keyword: "look_up_tweet", params: 1, exec: look_up_tweet, - help_str: "<tweet_id>: Look up tweet by the tweet ID. If unknown, try to retrieve it." + param_str: " <tweet_id>", + help_str: "Look up tweet by the tweet ID. If unknown, try to retrieve it." }; // TODO: make this parse a proper tweet id |