README: add note about advanced options (#218)

* 📝 Add note about advaced options in README

Clarify position of advanced options argumnts (they won’t work if are placed after domain names)

Add example.

* Update README.md
This commit is contained in:
Nelson Martell 2019-11-26 18:35:01 -05:00 committed by Filippo Valsorda
parent 9b04095804
commit d8d73fcb89

@ -144,6 +144,14 @@ To only install the local root CA into a subset of them, you can set the `TRUST_
all other flags and arguments except -install and -cert-file.
```
> **Note:** You _must_ place these options before the domain names list.
#### Example
```
mkcert -key-file key.pem -cert-file cert.pem example.com *.example.com
```
### S/MIME
mkcert automatically generates an S/MIME certificate if one of the supplied names is an email address.