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/auth.rs | |
parent | 73dc5dda6b8ca8a8bdae0f620442e359871b0152 (diff) |
add a little more help info, describe tweets/compose mode/commands
Diffstat (limited to 'src/commands/auth.rs')
-rw-r--r-- | src/commands/auth.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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: "<PIN>: Complete account auth. Enter PIN from prior `auth` link to connect an account." + param_str: " <PIN>", + 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) { |