Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mozilla/ssl-config-generator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGene Wood <gene_wood@cementhorizon.com>2021-04-05 18:24:34 +0300
committerGitHub <noreply@github.com>2021-04-05 18:24:34 +0300
commit924213afb527ccf76c2b0d0185f44a0b17e6f6bd (patch)
treebe2267f2a08fb3ee5f7032c35c1b613c1f181fd9
parent6871d64982ae26997a78d58630f50c203d6ea822 (diff)
parentc987c0e3a9ee7f98748059394967e08f96bf1b40 (diff)
Merge pull request #136 from mavit/minver
Document that minver returns true if equal
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 73714f7..0138fd0 100644
--- a/README.md
+++ b/README.md
@@ -34,9 +34,9 @@ All of the templates are written in [Handlebars.js](https://handlebarsjs.com/),
- `join(array, joiner)` - split a array into a string based on `joiner`
- `{{{join output.ciphers ":"}}}`
- `last(array)` - returns the last item in the array
-- `minpatchver(minimumver, curver)` - `true` if `curver` is greater `minimumver` and both versions are the same patch version, e.g. `2.2`
+- `minpatchver(minimumver, curver)` - `true` if `curver` is greater than or equal to `minimumver`, and both versions are the same patch version, e.g. `2.2`
- `{{#if (minpatchver "2.4.3" form.serverVersion)}}`
-- `minver(minimumver, curver)` - `true` if `curver` is greater than `minver`
+- `minver(minimumver, curver)` - `true` if `curver` is greater than or equal to `minver`
- `{{#if (minver "1.9.5" form.serverVersion)}}`
- `replace(string, whattoreplace, replacement)` - replaces whatToReplace with replacement
- `replace(protocol, "TLSv", "TLS ")`