From 414af5a26ffd608d58d84a35cbaa6bdc80921ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 24 Jul 2022 12:01:18 +0200 Subject: [PATCH] aquatic_common: ignore some whitespace in cli arg parser --- aquatic_common/src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/aquatic_common/src/cli.rs b/aquatic_common/src/cli.rs index 6c9a2e0..db18f09 100644 --- a/aquatic_common/src/cli.rs +++ b/aquatic_common/src/cli.rs @@ -69,6 +69,7 @@ impl Options { "-h" | "--help" => { return Err(None); } + "" => (), _ => { return Err(Some("Unrecognized argument".to_string())); }