Add missing flags in usage in README.md (#253)

This is a follow-up to ba10cd1db7
where I forgot to update the usage in README. This commit adds
not only the new flag introduced in ba10cd1db7
but also the missing flags from older changes.
This commit is contained in:
klyubin
2022-01-11 10:32:01 -08:00
committed by GitHub
parent ba10cd1db7
commit 1081a17c66
+4
View File
@@ -70,9 +70,13 @@ Commands:
--cert=CERT Client certificate chain for connecting to server (PEM).
--key=KEY Private key for client certificate, if not in same file (PEM).
-t, --start-tls=PROTOCOL Enable StartTLS protocol ('ldap', 'mysql', 'postgres', 'smtp' or 'ftp').
--identity=certigo With --start-tls, sets the DB user or SMTP EHLO name.
--proxy Optional URI for HTTP(s) CONNECT proxy to dial connections with.
--timeout=5s Timeout for connecting to remote server (can be '5m', '1s', etc).
-m, --pem Write output as PEM blocks instead of human-readable format.
-j, --json Write output as machine-readable JSON format.
--verify Verify certificate chain.
--expected-name Name expected in the server TLS certificate. Defaults to name from SNI or, if SNI not overridden, the hostname to connect to.
verify --name=NAME [<flags>] [<file>]
Verify a certificate chain from file/stdin against a name.