From 5e5fd8a92f27bdf9967c9dfc0a1fb82e5f8f1aae Mon Sep 17 00:00:00 2001 From: Thelie Date: Fri, 23 Apr 2021 17:14:44 +0200 Subject: [PATCH] Added License logo to README --- README.md | 4 +- lgpl-agpl-v3-logos.svg | 1221 ++++++++++++++++++++++++++++++++++++++++ src/main.rs | 6 +- 3 files changed, 1229 insertions(+), 2 deletions(-) create mode 100644 lgpl-agpl-v3-logos.svg 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); }