From d1a33a3a167d47541561ca9597d2d5f28431605f Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Sat, 11 Nov 2017 16:51:39 -0800 Subject: add a little more help info, describe tweets/compose mode/commands --- src/commands/auth.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/commands/auth.rs') diff --git a/src/commands/auth.rs b/src/commands/auth.rs index 0a2425d..7d01451 100644 --- a/src/commands/auth.rs +++ b/src/commands/auth.rs @@ -15,6 +15,7 @@ pub static AUTH: Command = Command { keyword: "auth", params: 0, exec: auth, + param_str: "", // TODO: support account-specific auth? profile name spec? help_str: "Begin PIN-based account auth process. Second step is the `pin` command." }; @@ -57,7 +58,8 @@ pub static PIN: Command = Command { keyword: "pin", params: 1, exec: pin, - help_str: ": Complete account auth. Enter PIN from prior `auth` link to connect an account." + param_str: " ", + help_str: "Complete account auth. Enter PIN from prior `auth` link to connect an account." }; fn pin(line: String, tweeter: &mut tw::TwitterCache, queryer: &mut Queryer) { -- cgit v1.1