From 64b8e154ef9bae1f609ec93f9630a6f7a6b1cb8e Mon Sep 17 00:00:00 2001 From: Adam Patridge Date: Thu, 15 Jun 2017 13:09:01 -0600 Subject: [PATCH] Tweak alias rendering. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ff8a01..1e984fa 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ Just reference the Cake.ArgumentHelpers NuGet package directly in your build scr Yep, just one so far... -### `bool ArgumentOrEnvironmentVariable(..., string name, string environmentNamePrefix, bool defaultValue)` +### ArgumentOrEnvironmentVariable + +`bool ArgumentOrEnvironmentVariable(..., string name, string environmentNamePrefix, bool defaultValue)` Since `EnvironmentVariable` always returns a string, it is more complex to involve it in an `Argument` call with a fallback. This alias makes it a single call, hiding away the string comparison done to massage the result to a `bool` value.