diff --git a/README.md b/README.md index e195892..cf2977a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Mention2Mail -An IRC bot that sends an email to users when they are mentioned. \ No newline at end of file +An IRC bot that sends an email to users when they are mentioned. + +![Licensed under AGPLv3](lgpl-agpl-v3-logos.svg "Licensed under AGPLv3") diff --git a/lgpl-agpl-v3-logos.svg b/lgpl-agpl-v3-logos.svg new file mode 100644 index 0000000..6c1f09f --- /dev/null +++ b/lgpl-agpl-v3-logos.svg @@ -0,0 +1,1221 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main.rs b/src/main.rs index f6f79d1..df49467 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,6 +15,10 @@ * along with Mention2Mail. If not, see . */ +use std::env::args; + fn main() { - println!("Hello, world!"); + let flag = args().nth(1).expect("no flag"); + let value = args().nth(2).expect("no value"); + println!("Got flag {} with value {}", flag, value); }