From b3dacf98dcadac1b14c5fd28449105cf9c267e37 Mon Sep 17 00:00:00 2001 From: Viktor Petukhov Date: Thu, 3 Oct 2024 08:03:42 -0700 Subject: [PATCH] Fixed CLI argument parsing Issue #138 --- src/cli/common.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/common.jl b/src/cli/common.jl index 5b7e341..52bec39 100644 --- a/src/cli/common.jl +++ b/src/cli/common.jl @@ -89,3 +89,4 @@ end Comonicon.from_dict(::Type{DataOptions}, ::Type{Symbol}, s) = Symbol(s) Comonicon.to_dict(::Type, s::Symbol) = "$s" +Base.tryparse(::Type{Symbol}, s::AbstractString) = Symbol(s) \ No newline at end of file