aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2016-04-24 06:13:23 -0400
committerTeddy Wing2016-04-24 06:13:23 -0400
commit15759804bd3be99fc6374ee993038440267fdfb5 (patch)
treeaa9ca0d3c7c5a361800a4ed11b796cf928a83a55
parentb11af1eccb5116b8901dd999f48210ce955ea9b7 (diff)
downloadmutt-alias-auto-add-15759804bd3be99fc6374ee993038440267fdfb5.tar.bz2
Add a documentation comment to our crate
-rw-r--r--src/main.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index e2e0030..1129ec7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,12 @@
+//! alias-auto-add
+//!
+//! Adds unique aliases to a Mutt alias file.
+//!
+//! Reads an email from STDIN and tries to add an alias for the from address
+//! listed. If the given alias already exists, a new unique alias is generated
+//! and used instead. This allows us to always capture an alias even if a
+//! person has multiple email addresses.
+
use std::env;
use std::io::{self, BufRead, Write};