diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-19 17:51:04 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-19 17:51:04 +0200 |
| commit | 4b263196d3a41c99f7dc1acf659a9f9083163d5e (patch) | |
| tree | 72cf24ddd4e4caed4c7c26c6dddc7c2292ef1990 | |
| parent | f24f23faa240053b7ac8f65b69ff8d1ae0ad3ea1 (diff) | |
| download | mum-4b263196d3a41c99f7dc1acf659a9f9083163d5e.tar.gz | |
feedback
| -rw-r--r-- | mumd/src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs index 6a70586..479c568 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -37,8 +37,7 @@ use tokio_util::codec::{FramedRead, FramedWrite, LengthDelimitedCodec}; #[tokio::main] async fn main() { - if std::env::args().any(|s| s.as_str() == "--version") - { + if std::env::args().any(|s| s.as_str() == "--version") { println!("mumd {}", env!("VERSION")); return; } |
