Suggest --ssl-insecure cause --insecure is deprecated

This commit is contained in:
[OSC] Sven Schliesing 2018-08-03 08:31:54 +02:00
parent 22347d48e9
commit ec9b8bf1eb

View File

@ -131,7 +131,7 @@ class ConnectionHandler:
self.log(repr(e), "debug")
elif isinstance(e, exceptions.InvalidServerCertificate):
self.log(str(e), "warn")
self.log("Invalid certificate, closing connection. Pass --insecure to disable validation.", "warn")
self.log("Invalid certificate, closing connection. Pass --ssl-insecure to disable validation.", "warn")
else:
self.log(str(e), "warn")