From 8b5670f420be57576ff44324360e797f46664e8e Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 11 Nov 2017 16:51:39 -0800 Subject: add a little more help info, describe tweets/compose mode/commands --- src/commands/view.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/commands/view.rs') 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: ": Display tweet with a reference URL" + param_str: " ", + help_str: "Display tweet 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: ": Display whole thread leading to , reference URLs for each" + param_str: " ", + help_str: "Display whole thread leading to , 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" }; -- cgit v1.1