update commandline help

tls
Dingjun 7 years ago
parent ea706dc06b
commit 283245e12f

@ -611,6 +611,12 @@ Options:
Specifies the password for log in remote machine Specifies the password for log in remote machine
-r recursively copy the directories -r recursively copy the directories
-tls
connect to server via TLS
-tls-insecure
do not verify server's certificate
` `
fmt.Printf("%s", usageStr) fmt.Printf("%s", usageStr)
os.Exit(1) os.Exit(1)

@ -390,6 +390,12 @@ Options:
Specifies the max error count for keep alive, Specifies the max error count for keep alive,
when the count reach the max, the connection will when the count reach the max, the connection will
be abort. be abort.
-tls
connect to server via TLS
-tls-insecure
do not verify server's tls ceritificate
` `
fmt.Printf("%s", usageStr) fmt.Printf("%s", usageStr)
os.Exit(1) os.Exit(1)

Loading…
Cancel
Save