From d63b32106f785308fce0d674a2ac1fe2e88d54cb Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Wed, 3 Jan 2018 09:22:58 -0500 Subject: [PATCH] update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ef7661..e8747b7 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ compile 'io.github.cdimascio:java-dotenv:3.0.0' ``` ## Usage +Use dotenv.get("...") instead of Java's System.getenv(...). Here's [why](#faq). Create a `.env` file in the root of your project @@ -88,7 +89,7 @@ val dotenv = dotenv { } ``` -- see [Kotlin DSL configuration options](#kotlin-dsl-configuration-options) +- see [Kotlin DSL configuration options](#configuration-options) ### Get environment variables Note, environment variables specified in the host environment take precedence over those in `.env`.