diff options
| author | Teddy Wing | 2016-04-24 06:13:23 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-04-24 06:13:23 -0400 |
| commit | 15759804bd3be99fc6374ee993038440267fdfb5 (patch) | |
| tree | aa9ca0d3c7c5a361800a4ed11b796cf928a83a55 /src/main.rs | |
| parent | b11af1eccb5116b8901dd999f48210ce955ea9b7 (diff) | |
| download | mutt-alias-auto-add-15759804bd3be99fc6374ee993038440267fdfb5.tar.bz2 | |
Add a documentation comment to our crate
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 9 |
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}; |
