aboutsummaryrefslogtreecommitdiff
path: root/src/commands/quit.rs
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2017-11-11 04:35:35 -0800
committerAndy Wortman <ixineeringeverywhere@gmail.com>2017-11-11 16:00:31 -0800
commit73dc5dda6b8ca8a8bdae0f620442e359871b0152 (patch)
tree1a3a0ff74bedf1788079ba642eb222f6a4d23c9d /src/commands/quit.rs
parent3601bf6433d46dea4dd1960f7a3cdc514602983d (diff)
start adding help reference
Diffstat (limited to 'src/commands/quit.rs')
-rw-r--r--src/commands/quit.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands/quit.rs b/src/commands/quit.rs
index 5bd8c18..dedeab6 100644
--- a/src/commands/quit.rs
+++ b/src/commands/quit.rs
@@ -8,7 +8,9 @@ use std::process::exit;
pub static QUIT: Command = Command {
keyword: "q",
params: 0,
- exec: quit
+ exec: quit,
+ // TODO: app name
+ help_str: "Gracefully exit this thing"
};
fn quit(_line: String, tweeter: &mut tw::TwitterCache, _queryer: &mut Queryer) {