sftp: update docs to match code, fix typos and clarify disable_hashcheck prompt

This commit is contained in:
Michael G. Noll 2018-04-20 21:49:49 +02:00 committed by Nick Craig-Wood
parent a0c65deca8
commit d1ca8b8959
2 changed files with 6 additions and 5 deletions

View file

@ -74,7 +74,7 @@ func init() {
Optional: true,
}, {
Name: "use_insecure_cipher",
Help: "Enable the user of the aes128-cbc cipher. This cipher is insecure and may allow plaintext data to be recovered by an attacker..",
Help: "Enable the user of the aes128-cbc cipher. This cipher is insecure and may allow plaintext data to be recovered by an attacker.",
Optional: true,
Examples: []fs.OptionExample{
{
@ -87,7 +87,7 @@ func init() {
},
}, {
Name: "disable_hashcheck",
Help: "Disable the exectution of SSH commands to determine if remote file hashing is available, leave blank unless you know what you are doing.",
Help: "Disable the execution of SSH commands to determine if remote file hashing is available. Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.",
Optional: true,
}},
}