From 9d7feea8fa82d6d0377d64b9fc65a6380398fee3 Mon Sep 17 00:00:00 2001 From: Stephan Sahm Date: Thu, 28 Mar 2024 18:16:50 +0100 Subject: [PATCH] small improvement --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index affd6c7..18589e9 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ env = Dict( ) using ConfigurationsENV + config = from_env(Opt2, env, prefix="PREFIX_", separator="_") # Opt2(Opt1(true, nothing), "hello world") @@ -37,8 +38,8 @@ In case you just want to parse a subset of the options fields from environment v ```julia env = Dict("PREFIX__A__A" => "true") -nested_dict = from_env(Opt2, env, prefix="PREFIX__", return_dict=true) +nested_dict = from_env(Opt2, env, prefix="PREFIX__", return_dict=true) # DataStructures.DefaultDict{String, Any, typeof(ConfigurationsENV.RecursiveDict)} with 1 entry: # "a" => DefaultDict{String, Any, typeof(RecursiveDict)}("a"=>true)