From 79a03552497d965c973a3b7482453eb4bcb7e9f0 Mon Sep 17 00:00:00 2001
From: wirednkod <wirednkod@gmail.com>
Date: Fri, 6 Oct 2023 19:26:10 +0300
Subject: [PATCH] Address comment

---
 crates/configuration/src/shared/types.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/configuration/src/shared/types.rs b/crates/configuration/src/shared/types.rs
index 1f3c577..201e198 100644
--- a/crates/configuration/src/shared/types.rs
+++ b/crates/configuration/src/shared/types.rs
@@ -357,7 +357,7 @@ impl<'de> de::Visitor<'de> for ArgVisitor {
     {
         // covers the "-lruntime=debug,parachain=trace" case
         // TODO: Make this more generic by adding the scenario in the regex below
-        if (v.starts_with("-l") || v.starts_with("-log")) && v.contains(',') {
+        if v.starts_with("-l") || v.starts_with("-log") {
             return Ok(Arg::Flag(v.to_string()));
         }
         let re = Regex::new("^(?<name_prefix>(?<prefix>-{1,2})(?<name>[a-zA-Z]+(-[a-zA-Z]+)*))((?<separator>=| )(?<value>.+))?$").unwrap();
-- 
GitLab