diff options
author | Peter Oliver <git@mavit.org.uk> | 2021-04-03 16:24:14 +0300 |
---|---|---|
committer | Peter Oliver <git@mavit.org.uk> | 2021-04-03 16:24:14 +0300 |
commit | c987c0e3a9ee7f98748059394967e08f96bf1b40 (patch) | |
tree | cadf86c71c6c2d9aff3ac02b393077fab02f3039 | |
parent | 4cdfe00f891f572bdc0dae2fbe60db31d8986b74 (diff) |
Document that minver returns true if equal
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ")` |