From e6ee3d62324277847658335e73d1fad4815548e9 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 28 Nov 2011 01:37:29 -0500 Subject: [PATCH] mention using several env vars for one setting in README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19e33222..2d6f3c72 100644 --- a/README.md +++ b/README.md @@ -208,8 +208,12 @@ vanishes if there's no value for `FORCED_BASEDIR`, but if you set an environment variable `FORCED_BASEDIR` for example, it would be used. +A natural extension of this idea is to support several different +environment variable names or system property names, if you aren't +sure which one will exist in the target environment. + Object fields and array elements with a `${?foo}` substitution -value just disappear if the substitution is not found. +value just disappear if the substitution is not found: // this array could have one or two elements path = [ "a", ${?OPTIONAL_A} ]