diff options
author | Gene Wood <gene_wood@cementhorizon.com> | 2021-04-05 18:24:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 18:24:34 +0300 |
commit | 924213afb527ccf76c2b0d0185f44a0b17e6f6bd (patch) | |
tree | be2267f2a08fb3ee5f7032c35c1b613c1f181fd9 | |
parent | 6871d64982ae26997a78d58630f50c203d6ea822 (diff) | |
parent | c987c0e3a9ee7f98748059394967e08f96bf1b40 (diff) |
Merge pull request #136 from mavit/minver
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 ")` |