aboutsummaryrefslogtreecommitdiff
path: root/src/commands/quit.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-11-11 04:35:35 -0800
committeriximeow <me@iximeow.net>2017-11-11 16:00:31 -0800
commita4f05a40e2f7146f429fef26a96c91a41baba499 (patch)
tree1a3a0ff74bedf1788079ba642eb222f6a4d23c9d /src/commands/quit.rs
parente6091834b942f0c08c87a27223721c45795da627 (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) {