docs: update fingerprint comment.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2020-05-19 14:11:26 +08:00
parent 11ec0bec7e
commit 1288a4b20d

View File

@ -67,7 +67,7 @@ func main() {
}, },
cli.StringFlag{ cli.StringFlag{
Name: "fingerprint", Name: "fingerprint",
Usage: "fingerprint as unpadded base64 encoded sha256 hash.", Usage: "fingerprint SHA256 of the host public key, default is to skip verification",
EnvVar: "PLUGIN_FINGERPRINT,SSH_FINGERPRINT,FINGERPRINT,INPUT_FINGERPRINT", EnvVar: "PLUGIN_FINGERPRINT,SSH_FINGERPRINT,FINGERPRINT,INPUT_FINGERPRINT",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{
@ -164,7 +164,7 @@ func main() {
}, },
cli.StringFlag{ cli.StringFlag{
Name: "proxy.fingerprint", Name: "proxy.fingerprint",
Usage: "fingerprint as unpadded base64 encoded sha256 hash.", Usage: "fingerprint SHA256 of the host public key, default is to skip verification",
EnvVar: "PLUGIN_PROXY_FINGERPRINT,SSH_PROXY_FINGERPRINT,PROXY_FINGERPRINT,INPUT_PROXY_FINGERPRINT", EnvVar: "PLUGIN_PROXY_FINGERPRINT,SSH_PROXY_FINGERPRINT,PROXY_FINGERPRINT,INPUT_PROXY_FINGERPRINT",
}, },
cli.StringSliceFlag{ cli.StringSliceFlag{